Click or drag to resize
NanoXLSX

WorkbookAddWorksheet(String) Method

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

Namespace: NanoXLSX
Assembly: NanoXLSX (in NanoXLSX.dll) Version: 2.6.5+4f4b44a718a20dda8ca2c0c4d00bd7eee7c80f5d
Syntax
C#
public void AddWorksheet(
	string name
)

Parameters

name  String
Name of the new worksheet
Exceptions
ExceptionCondition
WorksheetExceptionThrows a WorksheetException 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