Clever-Excel-Forum

Normale Version: Geändertes Verhalten bei Übernahme vom Berechnungs-Modus
Du siehst gerade eine vereinfachte Darstellung unserer Inhalte. Normale Ansicht mit richtiger Formatierung.
Moin

Hier kam gerade ein Artikel, den man sich abspeichern sollte.
https://fastexcel.wordpress.com/2023/03/...ger-viral/

Excel 365 and Excel 2021
The change in Excel 365 and Excel 2021 is not to change the calculation mode of a workbook when saving it unless the user (or VBA) has changed Excel’s calculation mode before the save.
  • Start Excel 365 or 2021
  • Open a Manual Workbook
  • Open an Automatic workbook
  • Save the Automatic Workbook
  • Close Excel and then re-open the saved Automatic Workbook
  • Excel is now in Automatic Mode, the saved workbook has NOT been changed to Manual!
Nice!
(und lange fällig!)
Nevertheless:
Es gibt (in VBA) weiterhin nur
Application.Calculation
und nicht etwa
ThisWorkbook.Calculation

Die sinnvolle Änderung wirkt also verborgen im Source-Code.

Folglich gilt zukünftig folgender wichtige Hinweis (fast) nicht mehr:
https://www.online-excel.de/excel/singsel_vba.php?f=150
(besser könnte ich es auch nicht beschreiben Wink)

Gruß Ralf