Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Yep, went brain dead for a minute.
Thanks for the correction. -- Regards, Tom Ogilvy "Dick Kusleika" wrote in message ... "Tom Ogilvy" wrote in message ... Suspect this is in a sheet module in which case, the unqualified references will remain pointed at the sheet containing the module rather than the activesheet (which is your intent). The revision below should work if my assumption is correct. For Each ws In Worksheets ' ws.Activate For Each ws.query In QueryTables ws.query.Refresh BackgroundQuery:=False Next Next For Each query In ws.QueryTables query.Refresh False Next query ? -- Dick Kusleika MVP - Excel Excel Blog - Daily Dose of Excel www.dicks-blog.com |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Refreshing an Excel Query | Excel Discussion (Misc queries) | |||
Refreshing Pivot Tables | Excel Discussion (Misc queries) | |||
Refreshing Pivot Tables | Excel Worksheet Functions | |||
Refreshing Query Tables | Excel Programming | |||
Refreshing Pivot Tables QUery | Excel Programming |