Click or drag to resize
NanoXLSX

WorkbookSetCurrentWorksheet(Int32) Method

Sets the current worksheet

Namespace: NanoXLSX
Assembly: NanoXLSX (in NanoXLSX.dll) Version: 2.6.7+c253a7d00ca5e19be14df4552cf12c589ec4ab3e
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