 | WorkbookSetCurrentWorksheet(Int32) Method |
Sets the current worksheet
Namespace: NanoXLSXAssembly: NanoXLSX (in NanoXLSX.dll) Version: 2.6.7+3223c8b99fcd3402b4ae016daa480abac16f8a9f
Syntaxpublic Worksheet SetCurrentWorksheet(
int worksheetIndex
)
Parameters
- worksheetIndex Int32
- Zero-based worksheet index
Return Value
WorksheetReturns the current worksheet
ExceptionsException | Condition |
---|
WorksheetException | Throws a WorksheetException if the name of the worksheet is unknown |
See Also