NanoXLSX Library Documentation
WorkbookSetCurrentWorksheet Method |
Sets the current worksheet
Namespace: NanoXLSX
Assembly: NanoXLSX (in NanoXLSX.dll) Version: 1.2.3.0 (1.2.3)
Syntax
C#
public Worksheet SetCurrentWorksheet( string name )
Parameters
- name
- Type: SystemString
Name of the worksheet
Return Value
Type: WorksheetReturns the current worksheet
Exceptions
Exception | Condition |
---|---|
WorksheetException | Throws a MissingReferenceException if the name of the worksheet is unknown |
See Also