Slow calcs with VBA open?

CedarTree

Registered User.
Local time
Today, 03:05
Joined
Mar 2, 2018
Messages
445
Hi - I have an XLSM file running and it calculates REALLY slowly when I'm viewing code. When I close the view code window, the calculation happens very quickly. You can the VBA window flashing as if it's updating the screen as it calculates. Any cheats to make re-calculating faster with VBA open?
 
turn off screen updates:
Application.ScreenUpdating = false
 
Cool - I added a button - turns off updating / calculates / turns it back on. Thanks!
 
This is very interesting, and something I've never experienced (or at least, noticed) before. Thanks for sharing. So this had nothing to do with VBA code running ... simply that if you had the VBA project window open at all, then regular worksheet calculations/formulas were extra slow to refresh. Very interesting! I wonder why.
 

Users who are viewing this thread

Back
Top Bottom