PicoXLSX Library Documentation
![]() | WorkbookSetSelectedWorksheet Method (Worksheet) |
Sets the selected worksheet in the output workbook
Namespace: PicoXLSX
Assembly: PicoXLSX (in PicoXLSX.dll) Version: 2.4.0.0 (2.4.0)
SyntaxC#
public void SetSelectedWorksheet( Worksheet worksheet )
Parameters
- worksheet
- Type: PicoXLSXWorksheet
Worksheet object (must be in the collection of worksheets)
Exceptions| Exception | Condition |
|---|---|
| WorksheetException | Throws a UnknownWorksheetException if the worksheet was not found in the worksheet collection |
RemarksThis method does not set the current worksheet while design time. Use SetCurrentWorksheet instead for this
See Also