Disable error msg "Unable to open..." web query

Mulkis

New Member
Joined
Jan 31, 2011
Messages
19
Hi,
I am using web queries extensively and ocassionally getting messages "Unable to open http: // www...... Cannot locate the internet server or proxy server."

I would like to disable this error poping-up because it freezes all other open queries until I hit ok.

I need something like On Error Resume Next. But I dont now whereto put it. Maybe somewhere in the registry????

Please help!
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
No answer so far...

Ok, in case anybody has the same problem, this is my solution how to overcome this: instead of using excel built-in web query refresh function, I've made custom refresh OnTime procedure with On Error Resume Next code included. Now my query updates as usual except it ignores any occasional connection problems.

PS. But now as everyone using OnTime event I face a problem, how to terminate it, but this is another issue:biggrin:

PS2. BTW by using custom made refresh one could make web query refreshing more frequently than excel 1 min limit -simply start several refresh procedures simultaneously.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,537
Messages
6,179,405
Members
452,911
Latest member
a_barila

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top