Skip to content

Sheet2CSVOpts

On this page

Options for converting a worksheet to CSV

interface Sheet2CSVOpts extends WorksheetCellBudgetOptions

Properties

NameTypeRequiredDescription
maxWorksheetCellsnumberNoMaximum cumulative cell work per sheet. This counts explicit cells plus
generated column, hyperlink, span, and export positions. XLSX reads default
to 10,000,000; exports default to 1,000,000.
FSstringNoField separator (default: ",")
RSstringNoRecord separator / row delimiter (default: "\n")
stripbooleanNoIf true, strip trailing field separators from each row
blankrowsbooleanNoIf true, include blank rows (default: true)
skipHiddenbooleanNoIf true, skip hidden rows and columns
forceQuotesbooleanNoIf true, wrap all fields in quotes
rawNumbersbooleanNoIf true, emit raw numeric values instead of formatted text
escapeFormulaebooleanNoIf not false, prefix formula-like text fields with a single quote
dateNFNumberFormatNoOverride date format for date cells
dateOutput"iso"NoIf "iso", emit date/datetime cells as machine-readable ISO-like strings
UTCbooleanNoIf true, interpret dates as UTC
date1904booleanNoIf true, use 1904 date system for date serial numbers