Click or drag to resize
NanoXLSX

WorkbookSetCurrentWorksheet(Int32) Method

Sets the current worksheet

Namespace: NanoXLSX
Assembly: NanoXLSX (in NanoXLSX.dll) Version: 2.6.3+98f265239ae8df4639650ecd7029244cc5e52dfc
Syntax
C#
public Worksheet SetCurrentWorksheet(
	int worksheetIndex
)

Parameters

worksheetIndex  Int32
Zero-based worksheet index

Return Value

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