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