Avatar of agwalsh
agwalsh
 asked on

How to stop Calculation options switching to Manual - for no apparent reason!

I have a spreadsheet - which is constantly defaulting back to Manual Calculation - which is irritating to say the least. I got it from someone else so not sure if they had turned off Automatic Calculation. I checked my own options and they are fine - how do I make sure it doesn't keep going back to Manual.
Microsoft Access

Avatar of undefined
Last Comment
Anders Ebro (Microsoft MVP)

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Anders Ebro (Microsoft MVP)

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
agwalsh

ASKER
Yes I had a look at the VBA and someone has written a macro and I can see they have the following in one bit but I can't see anywhere turning it off but that would explain it. Thank you

End With
Application.ScreenUpdating = True
Application.Calculation = xlCalculationAutomatic
End Sub
agwalsh

ASKER
What would be the best way to deactivate it? Save it as an xlsx?
Anders Ebro (Microsoft MVP)

Yes, you could save it without macros(vba). I can't say however whether the macros are crucial to the operation of the file. There could be custom functions as well, that are needed by the worksheet.
You could also search the code for any place that says xlCalculationManual and try to comment out those lines.
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
agwalsh

ASKER
Well it was a spreadsheet I got from someone and I didn't know there was macros in it until today! Will follow your advice. Thank you.
agwalsh

ASKER
Yep, you were completely correct. Was VBA in the macro code turning off the automatic calculation feature. Thank you
agwalsh

ASKER
So great to have an expert immediately spot and diagnose what had been bothering me for hours!
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Anders Ebro (Microsoft MVP)

Your welcome.
I've been in your shoes a couple of years ago :=)