ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   ActiveWorkbook.RefreshAll (https://www.excelbanter.com/excel-programming/323266-activeworkbook-refreshall.html)

toosie

ActiveWorkbook.RefreshAll
 
Is there any function checking its status?
I want to open other excel file, refreshall, save, close. Save function
executes during refreshing and it asks me "Do u want to stop refreshing". I
want to save file, but after refreshing.
Help:)
Toosie



NickHK

ActiveWorkbook.RefreshAll
 
toosie,
If your queries are not set to refresh in the background, VBA code will wait
until the refresh has completed before continuing.
Look at the Properties of the/each query.

NickHK

"toosie" wrote in message
...
Is there any function checking its status?
I want to open other excel file, refreshall, save, close. Save function
executes during refreshing and it asks me "Do u want to stop refreshing".

I
want to save file, but after refreshing.
Help:)
Toosie






All times are GMT +1. The time now is 04:53 AM.

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