Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 331
Default Automatically clear web query message "unable to open http:"

I am using a web inquiry to bring information into an excel spread sheet. A
Macro performs the web query at regular intervals throughout the day.
Occassionally Excel sends a message stating that it was "unablet to open the
http:// . . . ". This stops the macro and prevents it from getting
information for the rest of the day.

How can I automatically clear this excel message using VBA code or another
method?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default Automatically clear web query message "unable to open http:"

I don't have enough information to help without seeing the macro. Question,
if you exit the workbook and reopen does the macro work?

You may have the statement Application.EnableEvents = False which will stop
new events from occuring.

You can put a simple macro to solve this problem

Sub EnableEvents()

Application.EnableEvents = True

end Sub

I don't know what mechanism is being used to perform the query at regular
intervals. The macro may be using TEMP files on your computer to determine
when to run the query. I can't tell without seeing the code.


"Greg" wrote:

I am using a web inquiry to bring information into an excel spread sheet. A
Macro performs the web query at regular intervals throughout the day.
Occassionally Excel sends a message stating that it was "unablet to open the
http:// . . . ". This stops the macro and prevents it from getting
information for the rest of the day.

How can I automatically clear this excel message using VBA code or another
method?

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
Unable to open a 82 KB XLSM file due to "Too many different cellformats" & "Converter failed to open the file." errors. Phillip Pi Excel Discussion (Misc queries) 0 April 23rd 09 08:53 PM
Unable to open a 82 KB XLSM file due to "Too many different cellformats" & "Converter failed to open the file." errors. Phillip Pi Setting up and Configuration of Excel 0 April 23rd 09 08:53 PM
web query with Workbooks.Open("http:// ..... Alex Excel Programming 2 March 26th 08 04:13 AM
"word unable to open data source" message when trying to do mail m funeralman Excel Discussion (Misc queries) 1 June 2nd 06 11:04 PM
I am getting a message "Unable to open http:...." while working o. dicky Excel Discussion (Misc queries) 1 March 25th 05 12:24 PM


All times are GMT +1. The time now is 12:31 PM.

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

About Us

"It's about Microsoft Excel"