[]
Copies the sheet collection to the location before the specified sheet.
IWorksheets CopyBefore(IWorksheet targetSheet)
Function CopyBefore(targetSheet As IWorksheet) As IWorksheets
| Type | Name | Description |
|---|---|---|
| IWorksheet | targetSheet | The sheet before which the copied sheet collection will be placed. It can be the sheet of the same or another workbook. |
| Type | Description |
|---|---|
| IWorksheets | The new copied sheet collection. |