Adds an empty worksheet to the end of the collection.
Newly created worksheet.
If this is the first worksheet added to the collection the ActiveWorksheet is set to this worksheet.
| Exception Type | Condition |
|---|---|
| ArgumentException | Thrown if worksheet name is not unique. |
ExcelWorksheetCollection Class | GemBox.Spreadsheet Namespace