Link to home
Start Free TrialLog in
Avatar of upobDaPlaya
upobDaPlaya

asked on

How do I suspend auto cals in MS Excel when running a VBA module

In a VBA module I turn off auto calculations at the beginning of the code.  At the end I turn it back on, but this is problematic as when I turn it back on in the code it re-ca calculates and takes forever since I have a lot of CountIFS and SUMIFS...

Any suggestions...

I
SOLUTION
Avatar of SterlingMcClung
SterlingMcClung

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Avatar of Flyster
Flyster
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of upobDaPlaya
upobDaPlaya

ASKER

Sterling, I took a look at arrays and it makes sense.  However, how can I utilize arrays if I have several conditions to be met prior to a sum.  For example if cell A3 has to be >0 and B3>50 prior to summing certain cells how would I replace the SUMIF with an array ?

Flyster,

In the interim I will give your suggestion a shot.
thank you...