Workbook.AddWorksheet Method (String)

PicoXLSX

PicoXLSX

WorkbookAddWorksheet Method (String)

Adding a new Worksheet. The new worksheet will be defined as current worksheet

Namespace:  PicoXLSX
Assembly:  PicoXLSX (in PicoXLSX.dll) Version: 2.4.0.0 (2.4.0)
Syntax
C#
public void AddWorksheet(
	string name
)

Parameters

name
Type: SystemString
Name of the new worksheet
Exceptions
ExceptionCondition
WorksheetExceptionThrows a WorksheetNameAlreadxExistsException if the name of the worksheet already exists
FormatExceptionThrows a FormatException if the name contains illegal characters or is out of range (length between 1 an 31 characters)
See Also