NanoXLSX Library Documentation
![]() | WorksheetWorksheetExists Method |
Checks whether a worksheet with the given name exists
Namespace: NanoXLSX
Assembly: NanoXLSX (in NanoXLSX.dll) Version: 1.2.3.0 (1.2.3)

C#
private static bool WorksheetExists( string name, Workbook workbook )
Parameters
- name
- Type: SystemString
Name to check - workbook
- Type: NanoXLSXWorkbook
Workbook reference
Return Value
Type: BooleanTrue if the name exits, otherwise false
