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.3+98f265239ae8df4639650ecd7029244cc5e52dfc
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