IOverhead.InsertRowsInOverheadSheet Method
Function InsertRowsInOverheadSheet( _
ByVal rangeToInsert As IRange _
) As IRange
This language is not supported or no code example is available.
Parameters
- rangeToInsert
- IRange
The range containing the rows to be inserted 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.
Return Value
IRangeThe rows that were actually inserted. The number of inserted rows and their position may be adjusted in some cases. So the result is not always the same as rangeToInsert. Moreover, for native sheets, the inserted rows in all areas are returned - in Core, Overhead minute and Optional. These row groups are returned as separate areas in Areas.
Exception type | Condition |
---|---|
A problem occurred. |
|
The rangeToInsert argument is null reference (Nothing in Visual Basic). |
|
The rangeToInsert is not valid (too large, doesn't belong to any overhead sheet, etc.). |