Calculation Options Keep Re-Setting to Manual in Excel

Swoootie

Board Regular
Joined
Jun 28, 2012
Messages
66
Hi all,

I keep encountering a problem in that my Calculation Options keep re-setting to manual every time I run some VBA code in Excel. The code is excecuted via a click button and is meant to update values on the spreadsheet.

I've tried saving the spreadsheet again with the "automatic" selection ticked and also saved my personal.xlsb again but with no luck. All other Excel sheets are closed and this spreadsheet was in perfectly good condition before this morning.

Would be very appreciative of any help!!

Thanks
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
The vba code is likely setting the calculation to manual while it is running. You should detect the calculation setting at the beginning of the code and then on exiting set it back to what it was previously set as.
 
Upvote 0
Thanks for your response Brian.

Funnily enough nothing could revert the calculation options back to automatic in that particular Excel session. I was able to resolve the issue by "moving" the Excel tab in question to a new location, shutting down the old session and saving/closing/re-opening the moved session.
Thought I'd post this on here in case it helps anyone else.

Thanks
 
Upvote 0

Forum statistics

Threads
1,223,244
Messages
6,170,976
Members
452,372
Latest member
Natalie18

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