Method FindSheet
- Namespace
- DocWright.Spreadsheet
- Assembly
- DocWright.Spreadsheet.dll
FindSheet(string)
Finds a sheet by its name.
public XlsxDocumentSheet? FindSheet(string name)
Parameters
namestringThe name. Compared without regard to case, as Excel compares sheet names.
Returns
- XlsxDocumentSheet
The sheet, or null when the workbook has none of that name.
Exceptions
- ArgumentNullException
nameis null.