PicoXLSX Library Documentation
![]() | WorkbookSetCurrentWorksheet Method |
Sets the current worksheet
Namespace: PicoXLSX
Assembly: PicoXLSX (in PicoXLSX.dll) Version: 2.4.0.0 (2.4.0)

C#
public Worksheet SetCurrentWorksheet( string name )
Parameters
- name
- Type: SystemString
Name of the worksheet
Return Value
Type: WorksheetReturns the current worksheet

Exception | Condition |
---|---|
WorksheetException | Throws a MissingReferenceException if the name of the worksheet is unknown |
