ExcelWorksheetInsertCopy Method |
Inserts a copy of an existing worksheet before the current worksheet.
Namespace: SautinSoft.ExcelAssembly: SautinSoft.Excel (in SautinSoft.Excel.dll) Version: 2025.2.6
Syntaxpublic ExcelWorksheet InsertCopy(
string destinationWorksheetName,
ExcelWorksheet sourceWorksheet
)
Public Function InsertCopy (
destinationWorksheetName As String,
sourceWorksheet As ExcelWorksheet
) As ExcelWorksheet
Parameters
- destinationWorksheetName String
- Name of the new worksheet.
- sourceWorksheet ExcelWorksheet
- Source worksheet.
Return Value
ExcelWorksheetCreated worksheet.
See Also