Extract all cell values and formulas as an array of strings.
Format: "A1=100" for values, "A3='SUM(A1:A2)" for formulas. String values are prefixed with ' to distinguish from numbers.
"A1=100"
"A3='SUM(A1:A2)"
'
The Worksheet to extract from.
An array of "REF=VALUE" strings.
"REF=VALUE"
const formulae = sheetToFormulae(ws);// ['A1=100', "A2='Hello", "A3='SUM(A1:A2)"] Copy
const formulae = sheetToFormulae(ws);// ['A1=100', "A2='Hello", "A3='SUM(A1:A2)"]
Extract all cell values and formulas as an array of strings.
Format:
"A1=100"for values,"A3='SUM(A1:A2)"for formulas. String values are prefixed with'to distinguish from numbers.