createWorkbook
On this page
Create a new blank workbook, optionally containing an initial worksheet.
createWorkbook(ws?: WorkSheet, wsname?: string): WorkBook
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
ws | WorkSheet | No | Optional worksheet to include as the first sheet |
wsname | string | No | Name for the initial sheet (defaults to "Sheet1") |
Returns
A new workbook object