sheetToFormulae
On this page
Convert a worksheet to an array of formula strings.
Each entry has the format "CellRef=Value" (e.g. "A1=42", "B2='Hello"). For array formulas, the ref is the full range (e.g. "A1:C3={formula}"). String values are prefixed with a single quote; booleans become TRUE/FALSE.
sheetToFormulae(ws: WorkSheet, opts?: Sheet2FormulaeOpts): string[]
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
ws | WorkSheet | Yes | The worksheet to extract formulas from |
opts | Sheet2FormulaeOpts | No | Optional worksheet export budget |
Returns
string[]
An array of "ref=value" strings representing every non-empty cell