Skip to content

WorkBook

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

Interface: WorkBook

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

Properties

Sheets

Sheets: Record<string, WorkSheet>

Map of sheet names to WorkSheet objects

SheetNames

SheetNames: string[]

Ordered list of sheet names (determines tab order)

Props

optional

Props: FullProperties

File and document properties

Custprops

optional

Custprops: Record<string, any>

Custom document properties (arbitrary key-value pairs)

Workbook

optional

Workbook: WBProps

Workbook-level attributes (names, views, sheet props)

vbaraw

optional

vbaraw: any

Reserved compatibility field. Writing a non-empty VBA payload throws XlsxError ("UNSUPPORTED").

bookType

optional

bookType: string

File format type identifier

Source

src/types.ts:506


← WBView | WorkbookProperties →