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

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