Excel.CalculationMode enum

Hinweise

[ API-Satz: ExcelApi 1.1 ]

Beispiele

// 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);
});

Felder

automatic = "Automatic"

Das Standardmäßige Neuberechnungsverhalten, bei dem Excel bei jeder Änderung der relevanten Daten neue Formelergebnisse berechnet.

automaticExceptTables = "AutomaticExceptTables"

Berechnet neue Formelergebnisse bei jeder Änderung der relevanten Daten, es sei denn, die Formel befindet sich in einer Datentabelle.

manual = "Manual"

Berechnungen werden nur ausgeführt, wenn der Benutzer oder das Add-In sie anfordert.