Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default Web Queries - bypassing "no connection / data available" messages.

I have a program that collects data from web queries (the filename of the
webquery changes every hour, I use ontime on 5 minute intervals to always get
the newest data from the newest hour.)

Anyway, there's always a chance on the overlap that the new hour may not
have been generated yet. Or perhaps the website isn't working moementarily.
As such, occassionally the webquery will report:

"Connection was available but no data was there"
or
"No response from connection"

The problem with this is that it locks excel until someone clicks ok (ie the
timer will no longer run). Is there anyway I can disable the message from
appearing, or atleast not lock the program?

Using on error resume next or on error resume 0 in the procedure does not
seem to help.

Application.DisplayAlerts = False also doesn't help.

My conclusion is as such: This isn't a normal runtime error, nor an
application alert?

Any other ideas?

Thanks again

Matt Lawson

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting "file corrupted" messages, started recently. Evilive138 Excel Discussion (Misc queries) 1 October 15th 08 02:26 PM
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell Steve Kay Excel Discussion (Misc queries) 2 August 8th 08 01:54 AM
Parameters In External ODBC Data Queries - "is one of" Michael R Excel Discussion (Misc queries) 0 October 2nd 07 10:52 AM
vba weird messages - "catastrophic failure" newyuppie Excel Programming 2 April 27th 04 03:04 AM
Adding "New" "Insert" "Delete" into a workbook to change from data 1 to data 2 etc Bob Reynolds[_2_] Excel Programming 0 March 4th 04 08:52 PM


All times are GMT +1. The time now is 05:09 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"