peftypefty
New Member
- Joined
- Aug 24, 2005
- Messages
- 5
I have several macros which have run fine for months but have suddenly stopped functioning correctly. By stepping through them I have found that the problems always crop up due to Excel's failure to refresh cells containing formulas. If this refresh failure happens in the middle of a macro, I think it's easy to see how it could screw up the functioning of the rest of the macro.
My question: Aside from inserting a "Save" command at every other line of code in the macro, is there any way in VBA to force Excel to refresh formula values across the board? And more broadly, is there some parameter in Excel or in Windows that I can change in order to encourage Excel to do a better job refreshing on a regular basis?
Do I simply need more RAM?
Help would be greatly appreciated.
My question: Aside from inserting a "Save" command at every other line of code in the macro, is there any way in VBA to force Excel to refresh formula values across the board? And more broadly, is there some parameter in Excel or in Windows that I can change in order to encourage Excel to do a better job refreshing on a regular basis?
Do I simply need more RAM?
Help would be greatly appreciated.