ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Forcing VBA to wait until sheet completely calculated (https://www.excelbanter.com/excel-programming/361585-forcing-vba-wait-until-sheet-completely-calculated.html)

Nirmal Singh[_2_]

Forcing VBA to wait until sheet completely calculated
 


Is there some way of checking whether any cells in a worksheet have not been calculated yet?

I want to proceed with my VBA code only when the sheet has been completely calculated.

Gary''s Student

Forcing VBA to wait until sheet completely calculated
 
VBA should not proceed until calculate is complete. For example:

Sub asd()
MsgBox ("start calculation")
Application.CalculateFull
MsgBox ("calculation complete")
End Sub

The second message should not be issued until the calculation is, indeed,
complete.
--
Gary''s Student


"Nirmal Singh" wrote:



Is there some way of checking whether any cells in a worksheet have not been calculated yet?

I want to proceed with my VBA code only when the sheet has been completely calculated.


Ivan Raiminius

Forcing VBA to wait until sheet completely calculated
 
Hi Nirmal,

see help for application.calculationstate property.

Regards,
Ivan


Nirmal Singh[_2_]

Forcing VBA to wait until sheet completely calculated
 
On 16 May 2006 05:51:24 -0700, "Ivan Raiminius" wrote:

Hi Nirmal,

see help for application.calculationstate property.

Regards,
Ivan



Ivan

I can't find application.calculationstate. I'm using Excel 2000, is it available with that?

Nirmal


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

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