Is there a reason why manual calculation isn't switched back to automatic at the end of my sheet_change event code?

Ironman

Well-known Member
Joined
Jan 31, 2004
Messages
1,069
Office Version
  1. 365
Platform
  1. Windows
Some of the code isn't running in one of my sheets but it's only because the calculation method keeps changing to manual - as soon as I change it back for the umpteenth time then it runs fine.

I looked at the sheet change event code and at the start it says Application.Calculation = xlCalculationManual so I'm wondering why it wouldn't change to Application.Calculation = xlCalculationAutomatic at the end?

Is this likely to be just an omission or would there any disadvantage in me inserting "Application.Calculation = xlCalculationAutomatic" at the end of the change event?

Thanks!
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
It sounds to me like an omission and you should just add a line to add it back in at the end of your code.
 
Upvote 0
Solution

Forum statistics

Threads
1,214,868
Messages
6,122,005
Members
449,059
Latest member
mtsheetz

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