ExcelWorksheetCollectionAddCopy Method |
Adds a copy of an existing worksheet to the end of the collection.
Namespace: SautinSoft.ExcelAssembly: SautinSoft.Excel (in SautinSoft.Excel.dll) Version: 2025.2.6
Syntaxpublic ExcelWorksheet AddCopy(
string destinationWorksheetName,
ExcelWorksheet sourceWorksheet
)
Public Function AddCopy (
destinationWorksheetName As String,
sourceWorksheet As ExcelWorksheet
) As ExcelWorksheet
Parameters
- destinationWorksheetName String
- Name of new worksheet.
- sourceWorksheet ExcelWorksheet
- Source worksheet.
Return Value
ExcelWorksheetCreated worksheet.
See Also