Workbook.SetCurrentWorksheet Method

PicoXLSX

PicoXLSX

WorkbookSetCurrentWorksheet Method

Sets the current worksheet

Namespace:  PicoXLSX
Assembly:  PicoXLSX (in PicoXLSX.dll) Version: 2.4.0.0 (2.4.0)
Syntax
C#
public Worksheet SetCurrentWorksheet(
	string name
)

Parameters

name
Type: SystemString
Name of the worksheet

Return Value

Type: Worksheet
Returns the current worksheet
Exceptions
ExceptionCondition
WorksheetExceptionThrows a MissingReferenceException if the name of the worksheet is unknown
See Also