Last active
December 18, 2015 21:59
-
-
Save jakelosh/5851443 to your computer and use it in GitHub Desktop.
Another good macro for one's personal macro workbook. This one toggles between Manual and Automatic calculations. Hopefully your spreadsheets aren't so large that you need to use this often, but it prevents annoying autocalcs. I like to assign it to the keyboard shortcut CTRL + ALT + M.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Public Sub ToggleManualCalcs() | |
If Application.Calculation = xlCalculationAutomatic Then | |
Application.Calculation = xlCalculationManual | |
Else | |
Application.Calculation = xlCalculationAutomatic | |
End If | |
End Sub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment