# WorkBook

Source: /xlsx-format/api-reference/interfaces/workbook

Top-level Workbook object containing all sheets, properties, and metadata

```ts
interface WorkBook
```

## Properties

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| ` Sheets ` | ` Record<string, ` [` WorkSheet `](</xlsx-format/api-reference/interfaces/worksheet/>)` > ` | Yes | Map of sheet names to WorkSheet objects |
| ` SheetNames ` | ` string[] ` | Yes | Ordered list of sheet names (determines tab order) |
| ` Props ` | [` FullProperties `](</xlsx-format/api-reference/interfaces/fullproperties/>) | No | File and document properties |
| ` Custprops ` | ` Record<string, any> ` | No | Custom document properties (arbitrary key-value pairs) |
| ` Workbook ` | [` WBProps `](</xlsx-format/api-reference/interfaces/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 |
