NanoXLSX Library Documentation
NanoXLSX Library Documentation
NanoXLSX
NanoXLSX
Workbook Class
Workbook Methods
SetCurrentWorksheet Method
SetCurrentWorksheet(Int32) Method
SetCurrentWorksheet(String) Method
SetCurrentWorksheet(Worksheet) Method
Workbook
Set
Current
Worksheet(Worksheet) Method
Sets the current worksheet
Namespace:
NanoXLSX
Assembly:
NanoXLSX (in NanoXLSX.dll) Version: 2.6.2+7f12a949130e0be1e987e553d2d08c083176cdca
Syntax
C#
Copy
public
void
SetCurrentWorksheet
(
Worksheet
worksheet
)
Parameters
worksheet
Worksheet
Worksheet object (must be in the collection of worksheets)
Exceptions
Exception
Condition
WorksheetException
Throws a WorksheetException if the worksheet was not found in the worksheet collection
See Also
Reference
Workbook Class
SetCurrentWorksheet Overload
NanoXLSX Namespace
Copyright Raphael Stoeckli © 2025