[]
Moves the sheet collection to the location after the specified sheet.
IWorksheets MoveAfter(IWorksheet targetSheet)
Function MoveAfter(targetSheet As IWorksheet) As IWorksheets
Type | Name | Description |
---|---|---|
IWorksheet | targetSheet | The sheet after which the moved sheet collection will be placed. It can be the sheet of the same or another workbook. |
Type | Description |
---|---|
IWorksheets | The moved sheet collection. |