- Excel Calculation Changes To Manual
- Excel Turn On Manual Calculation Mac 10
- Excel Turn On Manual Calculation Mac And Cheese


I have a large spreadsheet with a lot of built-in circular references. I have built in VBA code to set to manual and iterative calculation on opening and also code to force a calculation on workbook open after I set to iterative calculation. However, it appears that the workbook tries to calculate before even running this VBA code on opening, such that if the workbook is already set to automatic calculation with no iterative calculation, it runs the workbook and then crashes because of the circular references.
I know I can set my own Application settings to always have iterative calculation, but this workbook is shared with others who may not have those same Application settings. Is there a way to halt the calculation on opening until the code has set the application to iterative calculation.
Thanks.
VBA – Turn Automatic Calculations Off (or On) Whenever you update a cell, Excel goes through a process to recalculate the workbook. When working directly within Excel you want this to happen 99.9% of the time (the exception being if you are working with an extremely large workbook). However, this can really slow down your VBA code.
1 Answer
In a blank .xlsm file, in the workbook open event, put in this code
Since the calculations will be driven by whether or not the last opened workbook is manual or automatic, the above code will have to be put into a Caller workbook (shown above). This caller workbook, upon opening, will first disable calculations and then pull up your workbook which will be guaranteed to have manual calculation mode.
Also, in the required workbook (the one with circular references), The OnOpen event should trigger a Close of the caller workbook without saving.
That way the process is transparent to the user and s/he only opens the Caller book.
hnk