ExcelWorksheetCollectionAdd Method |
Adds an empty worksheet to the end of the collection.
Namespace: SautinSoft.ExcelAssembly: SautinSoft.Excel (in SautinSoft.Excel.dll) Version: 2026.2.6
Syntaxpublic ExcelWorksheet Add(
string worksheetName
)
Public Function Add (
worksheetName As String
) As ExcelWorksheet
Parameters
- worksheetName String
- Worksheet name.
Return Value
ExcelWorksheetCreated worksheet.
Remarks
If this is the first worksheet added to the collection the
ActiveWorksheet is set to this worksheet.
See Also