GemBox.Spreadsheet

ExcelWorksheet.InsertCopy Method 

Inserts a copy of an existing worksheet before the current worksheet.

public ExcelWorksheet InsertCopy(
   string destinationWorksheetName,
   ExcelWorksheet sourceWorksheet
);

Parameters

destinationWorksheetName
Name of the new worksheet.
sourceWorksheet
Source worksheet.

Return Value

Newly created worksheet.

See Also

ExcelWorksheet Class | GemBox.Spreadsheet Namespace