Click or drag to resize
NanoXLSX

WorkbookSetCurrentWorksheet(Int32) Method

Sets the current worksheet

Namespace: NanoXLSX
Assembly: NanoXLSX (in NanoXLSX.dll) Version: 2.6.5+4f4b44a718a20dda8ca2c0c4d00bd7eee7c80f5d
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