ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Forced recalculation in Excel (https://www.excelbanter.com/excel-programming/279724-forced-recalculation-excel.html)

Claude

Forced recalculation in Excel
 
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?


Chip Pearson

Forced recalculation in Excel
 
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

"Claude" wrote in message
...
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?





All times are GMT +1. The time now is 08:50 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com