Click or drag to resize
NanoXLSX

WorkbookSetCurrentWorksheet(Int32) Method

Sets the current worksheet

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