WorkbookAdd |
public void AddWorksheet( string name, bool sanitizeSheetName )
| Exception | Condition |
|---|---|
| WorksheetException | WorksheetException is thrown if the name of the worksheet already exists and sanitizeSheetName is false |
| FormatException | FormatException is thrown if the worksheet name contains illegal characters or is out of range (length between 1 an 31) and sanitizeSheetName is false |