IOverhead.DeleteRowsInOverheadSheet Method
Sub DeleteRowsInOverheadSheet( _
ByVal rowsToDelete As IRange _
)
This language is not supported or no code example is available.
Parameters
- rowsToDelete
- IRange
The range containing the rows to be deleted in an overhead sheet. It doesn't matter which columns it contains, only the rows are important. This range must belong to some overhead sheet.
Exception type | Condition |
---|---|
A problem occurred. |
|
The rowsToDelete argument is null reference (Nothing in Visual Basic). |
|
The rowsToDelete is not valid (row cannot be deleted, doesn't belong to any overhead sheet, etc.). |
Deleting rows in an overhead sheet may be a complex operation. This method takes care of all related tasks.
For example, it checks whether the row in Currencies sheet doesn't store the currency of the estimate. Such row cannot be deleted.
Additionally, the outline levels are adjusted after deletion, duplicate list box sheets are handled, etc.
Available since QDV 7.22.958.