Excel.CalculationMode enum
Remarks
Examples
// Link to full sample: https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/excel/50-workbook/workbook-calculation.yaml
await Excel.run(async (context) => {
context.application.calculationMode = Excel.CalculationMode.manual;
context.application.load("calculationMode");
await context.sync();
console.log("Current calculation mode: " + context.application.calculationMode);
});
Fields
automatic = "Automatic" | The default recalculation behavior where Excel calculates new formula results every time the relevant data is changed. |
automaticExceptTables = "AutomaticExceptTables" | Calculates new formula results every time the relevant data is changed, unless the formula is in a data table. |
manual = "Manual" | Calculations only occur when the user or add-in requests them. |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Office Add-ins