Forced recalculation in Excel

C

Claude

Hi all

I find that Excel does not always calculate properly when
pressing F9. I have been shown the trick with Ctrl-Alt-F9,
which forces a recalculation of all formulas in all open
files and sheets. Is there an equivalent to this in VBA?
 
C

Chip Pearson

Claude,

In Excel 2000 and later, use

Application.CalculateFull

In Excel 2002 and later, you can also use

Application.CalculateFullRebuild


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com [email protected]
 
Top