ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Stop until Calculationstate = xldone (https://www.excelbanter.com/excel-programming/311671-stop-until-calculationstate-%3D-xldone.html)

Tornados[_3_]

Stop until Calculationstate = xldone
 

Hi all,

Probably a simple question, but somehow i'm not ifinding the solution

I am on manual calculation

then at one time i say: application.calculate.

however i really have to know sure that it is done calculating.. wil
it wait for itself ? when exactly does excel move on?

Basically, i need to do this:

if application.calculationstate= xldone then moveon ;)

and if false it should just wait... (application.wait unti
application.calculationstate = xldone.... ) something like this.
Anyone?

Cheers

--
Tornado
-----------------------------------------------------------------------
Tornados's Profile: http://www.excelforum.com/member.php...nfo&userid=417
View this thread: http://www.excelforum.com/showthread.php?threadid=26413


Tom Ogilvy

Stop until Calculationstate = xldone
 
It should wait until calculation is done.

--
Regards,
Tom Ogilvy

"Tornados" wrote in message
...

Hi all,

Probably a simple question, but somehow i'm not ifinding the solution

I am on manual calculation

then at one time i say: application.calculate.

however i really have to know sure that it is done calculating.. will
it wait for itself ? when exactly does excel move on?

Basically, i need to do this:

if application.calculationstate= xldone then moveon ;)

and if false it should just wait... (application.wait until
application.calculationstate = xldone.... ) something like this..
Anyone?

Cheers.


--
Tornados
------------------------------------------------------------------------
Tornados's Profile:

http://www.excelforum.com/member.php...fo&userid=4178
View this thread: http://www.excelforum.com/showthread...hreadid=264131





All times are GMT +1. The time now is 06:01 AM.

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