Skip to content

recalculate

function recalculate(xlsx, options?): Promise<Recalculated>;

Opens a saved workbook (.xlsx or .xlsm), sets the cells given, works out its formulas as Excel does, and saves it again, so that whatever reads the file next, Excel or not, finds the values up to date.

Parameter Type
xlsx ArrayBuffer | Uint8Array<ArrayBufferLike>
options RecalculateOptions

Promise<Recalculated>