Hi,
Just a problem im having is i have lots of web querys in my sheet. alot of the time i get the error saying no data returned when they refresh i was wondering if the following code could be changed to work with a web query and if it would delay the error coming up till data is recived? or even better does anyone have a code to cancel out that error but still have the query refresh till data is recieved, the reason i need this error gone is i have a query that refreshes every second to trace the exact time data changes on a site. so if that error keeps coming up it defeats the pupose of been able to leave the sheet to run itself
code:
--------------------------------------------------------------------------------
ActiveWorkBook.RefreshAll
With Worksheets(1).QueryTables(1)
Do While .Refreshing = True
Loop
End With
ExistFault.Show
Just a problem im having is i have lots of web querys in my sheet. alot of the time i get the error saying no data returned when they refresh i was wondering if the following code could be changed to work with a web query and if it would delay the error coming up till data is recived? or even better does anyone have a code to cancel out that error but still have the query refresh till data is recieved, the reason i need this error gone is i have a query that refreshes every second to trace the exact time data changes on a site. so if that error keeps coming up it defeats the pupose of been able to leave the sheet to run itself
code:
--------------------------------------------------------------------------------
ActiveWorkBook.RefreshAll
With Worksheets(1).QueryTables(1)
Do While .Refreshing = True
Loop
End With
ExistFault.Show