Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
xl 2002 windows xp profesional
Issue: Have a macro running that periodically switches from sheet to sheet to allow users to view varying data on a large TV screen. Book has queries to get data from web sites that are up set to update at specified times, but with the macro to change sheet running all day long it doesn't update. My fix would be to force an update within the sheet switching macro. Need a code snippet to a) list the names of all queries to make sure I have proper name and don't miss any; and b) the code to force the update when on that sheet. TIA |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Sub test()
Dim qtb As QueryTable For Each qtb In ActiveSheet.QueryTables qtb.Refresh Next End Sub -- Rob van Gelder - http://www.vangelder.co.nz/excel "dave" wrote in message ... xl 2002 windows xp profesional Issue: Have a macro running that periodically switches from sheet to sheet to allow users to view varying data on a large TV screen. Book has queries to get data from web sites that are up set to update at specified times, but with the macro to change sheet running all day long it doesn't update. My fix would be to force an update within the sheet switching macro. Need a code snippet to a) list the names of all queries to make sure I have proper name and don't miss any; and b) the code to force the update when on that sheet. TIA |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to create adress list so can mail merge and create labels? | Excel Discussion (Misc queries) | |||
Want to Create a List in Excel 2002; Don't see List in Data Menu? | Excel Discussion (Misc queries) | |||
Where can I learn how to create parameter queries in Excel? | Excel Discussion (Misc queries) | |||
Does Excel 2002 have a List>Create List option under Data? | Excel Discussion (Misc queries) | |||
simple workbook create/copy queries | Excel Programming |