Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I placed web query with the following commands (part of the macro)
With ActiveSheet.QueryTables.Add(Connection:="URL;" & qurl, Destination:=DataSheet.Cells(a, 5)) .BackgroundQuery = True .TablesOnlyFromHTML = False .Refresh BackgroundQuery:=False .SaveData = True End With Then i placed another macro it worked well. sub mac2() activeworkbook.refreshall end sub But the following macro is not worked well it skips the refresh command and goes to next line immediately without refreshing sub mac2() activeworkbook.refreshall activeworkbook.save end sub What is wrong with the macro? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Refreshing an Excel Query | Excel Discussion (Misc queries) | |||
Refreshing Data from a web query | Excel Discussion (Misc queries) | |||
MS Query refreshing in order | Excel Programming | |||
Refreshing Web Query Problem | Excel Programming | |||
Help! Query Refreshing | Excel Programming |