VBA: Turn Off - Turn On Calculation

Automate Excel

VBA: Turn Off - Turn On Calculation

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

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.