Strange calculation behavior

mccdaddy

Board Regular
Joined
Apr 7, 2002
Messages
72
Hi. I have Excel 2019. A couple of months ago I opened one of my sheets to update some personal accounting numbers. When I entered the new figures the related cells didn't update. I had never seen that before so I did a Google search for a solution to the problem. I found out for the first time about Formulas/ Calculation Options. Mine, for some reason, were set to Manual. I changed the option to Automatic and all was well. Then, today, the same thing happened. Every sheet I opened had the option changed to Manual. What could possibly be causing this peculiar behavior?

mccd
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
The calculation state is determined by the first workbook opened in a given session of Excel. If a workbook was saved with manual calculation on, and it is the first workbook opened, it will set calculation to manual for that session (until you change it).
 
Upvote 0
As what RoryA said but found this which may help
If you open an Excel file and set the calculation mode to Automatic, then open another Excel file that has been saved in Manual mode, it will NOT change to Automatic mode. Conversely, if you open an Excel file that has been saved in Manual mode, then open another Excel file saved in Automatic mode, it will CHANGE to Manual mode.

As a workaround, you can create a Personal.xlsb on: UserName\AppData\Roaming\microsoft\excel\Xlstart folder

When you saved the file "Personal.xlsb" in the Xlstart Folder, open an Excel file and press ALT+F11

On the left side, open the VBAProject(Personal.xlsb) and double click on ThisWorkbook and paste this code:
VBA Code:
Private Sub Workbook_Open()
     Application.Calculation = xlCalculationAutomatic
 End Sub

MicrosoftCredit to :
 
Upvote 0
Do you have any Excel add-in installed? Sometimes the author of the add-in saved it in manual calc mode, potentially causing this behavior for his users.
 
Upvote 0
If you open an Excel file and set the calculation mode to Automatic, then open another Excel file that has been saved in Manual mode, it will NOT change to Automatic mode
It will, unless there is something wrong with your installation. (if it didn't, your Personal.xlsb option wouldn't achieve anything)
 
Upvote 0
Thank you all for the replies and workarounds. However, my real question is how does the calculation setting change by itself? I do have one add-on, ExtendOffice's Office Tab, but I've had that for years. Why would the setting all of a sudden change when I've never set it to Manual? And then, once I've corrected it, why would it change again, months later? I'm puzzled.

mccd
 
Upvote 0
As I said, if you opened a workbook first that was saved with calculation set to manual, it would set calculation to manual for that session of Excel.
 
Upvote 0
All it takes is one workbook set to manual getting opened first and some other workbook second. Save both and you're in for a disease that spreads itself. AFAIK, with recent builds of Excel the Calc state is no longer shaved upon save. But I haven't tested this yet
 
Upvote 0

Forum statistics

Threads
1,223,240
Messages
6,170,951
Members
452,368
Latest member
jayp2104

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top