Workbook.SetCurrentWorksheet Method

NanoXLSX

NanoXLSX

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: Worksheet
Returns the current worksheet
Exceptions
ExceptionCondition
WorksheetExceptionThrows a MissingReferenceException if the name of the worksheet is unknown
See Also