# AOA2SheetOpts

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

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

```ts
interface AOA2SheetOpts extends CommonOptions
```

## Properties

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| ` WTF ` | ` boolean ` | No | If true, throw errors on unexpected situations instead of silently recovering |
| ` bookVBA ` | ` boolean ` | No | Reserved compatibility option. A true value is unsupported and throws XlsxError ("UNSUPPORTED"). |
| ` cellDates ` | ` boolean ` | No | If true, store dates as Date objects instead of serial numbers |
| ` sheetStubs ` | ` boolean ` | No | If true, include stub cells for null/undefined values |
| ` cellStyles ` | ` boolean ` | No | If true, include style/theme information on cells |
| ` password ` | ` string ` | No | Password for encrypted workbooks; non-empty values are unsupported and throw XlsxError ("UNSUPPORTED") |
| ` dense ` | ` boolean ` | No | If true, use dense (2D array) storage mode |
| ` dateNF ` | [` NumberFormat `](</xlsx-format/api-reference/types/numberformat/>) | No | Date format string for date cells |
| ` UTC ` | ` boolean ` | No | If true, interpret dates as UTC |
| ` date1904 ` | ` boolean ` | No | If true, use 1904 date system for date serial numbers |
| ` origin ` | ` number \| string \| ` [` CellAddress `](</xlsx-format/api-reference/interfaces/celladdress/>) | No | Starting cell for data: row number, A1 reference, or CellAddress |
| ` nullError ` | ` boolean ` | No | If true, convert null values to #NULL! error cells |
