[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IWorksheets.Copy

Copy Method

Copy(IWorkbook)

Copies the sheet collection to the end of the specified workbook.

Declaration
IWorksheets Copy(IWorkbook targetWorkbook = null)
Function Copy(Optional targetWorkbook As IWorkbook = Nothing) As IWorksheets
Parameters
Type Name Description
IWorkbook targetWorkbook

Specifies the workbook to which the sheet collection will be copied. If missing, the sheet will be copied to the current workbook.

Returns
Type Description
IWorksheets

The new copied sheet collection.