Skip to content

AOA2SheetOpts

On this page

Options for creating a worksheet from a 2D array (Array of Arrays)

interface AOA2SheetOpts extends CommonOptions

Properties

NameTypeRequiredDescription
WTFbooleanNoIf true, throw errors on unexpected situations instead of silently recovering
bookVBAbooleanNoReserved compatibility option. A true value is unsupported and throws XlsxError ("UNSUPPORTED").
cellDatesbooleanNoIf true, store dates as Date objects instead of serial numbers
sheetStubsbooleanNoIf true, include stub cells for null/undefined values
cellStylesbooleanNoIf true, include style/theme information on cells
passwordstringNoPassword for encrypted workbooks; non-empty values are unsupported and throw XlsxError ("UNSUPPORTED")
densebooleanNoIf true, use dense (2D array) storage mode
dateNFNumberFormatNoDate format string for date cells
UTCbooleanNoIf true, interpret dates as UTC
date1904booleanNoIf true, use 1904 date system for date serial numbers
originnumber | string | CellAddressNoStarting cell for data: row number, A1 reference, or CellAddress
nullErrorbooleanNoIf true, convert null values to #NULL! error cells