WorkBook
On this page
Top-level Workbook object containing all sheets, properties, and metadata
interface WorkBook
Properties
| Name | Type | Required | Description |
|---|---|---|---|
Sheets | Record<string, WorkSheet> | Yes | Map of sheet names to WorkSheet objects |
SheetNames | string[] | Yes | Ordered list of sheet names (determines tab order) |
Props | FullProperties | No | File and document properties |
Custprops | Record<string, any> | No | Custom document properties (arbitrary key-value pairs) |
Workbook | WBProps | No | Workbook-level attributes (names, views, sheet props) |
vbaraw | any | No | Reserved compatibility field. Writing a non-empty VBA payload throws XlsxError ("UNSUPPORTED"). |
bookType | string | No | File format type identifier |