ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Pausing procedure until worksheet finishes calculating (https://www.excelbanter.com/excel-programming/323549-pausing-procedure-until-worksheet-finishes-calculating.html)

No Name

Pausing procedure until worksheet finishes calculating
 
I am writing a macro for a workbook that has
a "Calculation" worksheet. There is a Loop procedure that
passes numbers through this "Calculation" worksheet and
each time, the output is copied to a different worksheet.
It looks like the copy part is happening before
the "Calculation" worksheet can finish calculating. Is
there a way to pause the procedure until the worksheet is
done calculating?

Thanks.

Don Guillett[_4_]

Pausing procedure until worksheet finishes calculating
 
application.enableevents=false
your code
reset to true

--
Don Guillett
SalesAid Software

wrote in message
...
I am writing a macro for a workbook that has
a "Calculation" worksheet. There is a Loop procedure that
passes numbers through this "Calculation" worksheet and
each time, the output is copied to a different worksheet.
It looks like the copy part is happening before
the "Calculation" worksheet can finish calculating. Is
there a way to pause the procedure until the worksheet is
done calculating?

Thanks.





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

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