Turn on Automatic Calculation

WhoCanDo

Board Regular
Joined
Dec 18, 2007
Messages
188
I have just come across a weird problem.

In Excel Tools/Options/Calculation is the option to set calculation Automatic or Manual.

Somehow one of our computers is turning this to Manual and Excel is saving it in the common Workbook we use.

What code can I use to check this status and make sure it is Automatic each time the Workbook is opened?
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
In the workbook's ThisWorkbook module, you could place the following:

Code:
Private Sub Workbook_Open()
Application.Calculation = xlCalculationAutomatic
End Sub

Macros would need to be enabled for this to work please note.
 
Upvote 0
Try in the ThisWorkbook module

Code:
Private Sub Workbook_Open()
Application.Calculation = xlCalculationAutomatic
End Sub
 
Upvote 0
Thanks to both of you. Works well. I thought it was the Application.Calculation but didn't know what came after the =

Regards
 
Upvote 0

Forum statistics

Threads
1,215,219
Messages
6,123,692
Members
449,117
Latest member
Aaagu

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