Click or drag to resize
NanoXLSX

WorkbookGetWorksheet(String) Method

Gets a worksheet from this workbook by name

Namespace: NanoXLSX
Assembly: NanoXLSX (in NanoXLSX.dll) Version: 2.6.5+4f4b44a718a20dda8ca2c0c4d00bd7eee7c80f5d
Syntax
C#
public Worksheet GetWorksheet(
	string name
)

Parameters

name  String
Name of the worksheet

Return Value

Worksheet
Worksheet with the passed name
Exceptions
ExceptionCondition
WorksheetExceptionThrows a WorksheetException if the worksheet was not found in the worksheet collection
See Also