Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have query tables in a worksheet that I wish to get refreshed each time a
macro is executed. The query tables are set to refresh data from SQL database every minute (via Data...Connections...properties). However, when the macro is executed, there is an error whenever the background refresh process is taking place. Is there some way of getting around this eg. knowing whether the background refresh process is taking place and starting the refresh process after? Is there a better refresh macro that will only refresh the query table and not the entire worksheet? Macro: sub Rfresh() ActiveWorkBook.RefreshAll end sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Refresh background query in Excel 2007 | Excel Programming | |||
File Properties Location retrieve to refresh background query? | Excel Programming | |||
How can I 'Enable Automatic Refresh' for Query Refresh by default | Setting up and Configuration of Excel | |||
Timing of automatic query refresh and macro pivot table refresh | Excel Programming | |||
Excel does not close from VB!! (when i refresh Refresh query with BackgroundQuery:=False) | Excel Programming |