ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Calculation (https://www.excelbanter.com/excel-programming/334957-calculation.html)

Paul Smith[_3_]

Calculation
 
I have a problem with Excel not having the time to complete it's
recalculation before the next line of code executes.

Is there any way of halting the execution of a macro until the recalculation
has taken place?

Paul Smith



Vic Eldridge[_3_]

Calculation
 
Does this work ?

Do While Mid(Application.StatusBar, 1, 18) = "Calculating Cells:"
DoEvents
Loop


Regards,
Vic Eldridge



"Paul Smith" wrote:

I have a problem with Excel not having the time to complete it's
recalculation before the next line of code executes.

Is there any way of halting the execution of a macro until the recalculation
has taken place?

Paul Smith





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

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