[]
Creates a new workbook.
IWorkbook Add(string name = null)
Function Add(Optional name As String = Nothing) As IWorkbook
Type | Name | Description |
---|---|---|
string | name | The name of workbook. |
Type | Description |
---|---|
IWorkbook | A IWorkbook value represents a new created IWorkbook instance. |
The workbook name must be unique in the workbook set.
Adds an existed workbook into the workbook set.
bool Add(IWorkbook workbook)
Function Add(workbook As IWorkbook) As Boolean
Type | Name | Description |
---|---|---|
IWorkbook | workbook |
Type | Description |
---|---|
bool |
|
The workbook
must not belong to any other workbook set and its name must be unique.