#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 26
Default 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


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 112
Default 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



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Multi threaded calculation (multi CPU) - impact on calculation spe Pascal[_2_] Excel Discussion (Misc queries) 1 December 3rd 08 10:46 AM
Age calculation Clash Excel Discussion (Misc queries) 2 March 21st 06 04:40 PM
How do I use a rounded calculation result in another calculation? vnsrod2000 Excel Worksheet Functions 1 January 26th 05 10:11 PM
How do I use a rounded calculation result in another calculation? vnsrod2000 Excel Worksheet Functions 1 January 26th 05 09:36 PM
range.calculation with UDF not working when calculation is set to automatic Brian Murphy Excel Programming 5 October 14th 03 07:02 PM


All times are GMT +1. The time now is 10:05 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"