Table of Contents

Method FindSheet

Namespace
DocWright.Formats.Xlsx
Assembly
DocWright.Formats.Xlsx.dll

FindSheet(string)

Finds a sheet by its name.

public XlsxDocumentSheet? FindSheet(string name)

Parameters

name string

The 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

name is null.