VBA: Turn Off – Turn On Calculation

October 31st, 2004 | Categories: VBA | Tags:

You can turn off automatic calculation with a macro by setting it to xlmanual. Use the following piece of VBA code:

Application.Calculation = xlManual

To turn on automatic calculation from VBA:

Application.Calculation = xlAutomatic
  1. Tim Noyes
    July 25th, 2009 at 16:33
    Reply | Quote | #1

    If the above doesn’t work for you (it didnt for me) try

    Application.Calculation = xlCalculationManual

    ..

    Application.Calculation = xlCalculationAutomatic