I have a rather large workbook, and some users prefer to have automatic calculation on, while others prefer having it off.
Some macros that interact with the sheets are attatched to the workbook. To speed up my VBA code, I set
Application.Calculation = xlManual
In the beginning of each workbook.
My question is, how do I revert it back to the way it was in the end of macro?
Right now i'm using
Application.Calculation = xlAutomatic
but that overrides the users choice. It's pretty annoying having to change it back to manual every time the macro has run. (Or the other way around, if leaving it at manual.)