error on accessing the internet

farmock

Board Regular
Joined
Sep 10, 2006
Messages
60
I have a program which automatically accesses the internet. On occasion when I attempt to access the internet I get an error message stating:
The internet was not accessable. There are 2 buttons one of which says "work offline" and the other says "try again". If I touch "try again" it has always connects right away. Unfortunately if my program gets this message it is dead in the water until I can intervene. Does anyone have an idea as to how I can prevent this error message from stopping the computer? Any help would be greatly appreciated. Frank
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.

sykes

Well-known Member
Joined
May 1, 2002
Messages
1,822
Office Version
  1. 365
Platform
  1. Windows
Frank
I have a program which automatically accesses the internet.
I assume you're accessing the internet from Excel using VBA, or you wouldn't be posting here....

How about testing for an internet connection as soon as your prog starts up........

http://www.mrexcel.com/board2/viewtopic.php?t=165207&highlight=test+internet+connection
... if there's no connection use application.quit before your problems start.

I've seen a few posts about this, so have a good troll through the board and you should get what you need.
 

farmock

Board Regular
Joined
Sep 10, 2006
Messages
60
I didn"t think about taking this approach. Thanks so much for the help.

Frank
 

sykes

Well-known Member
Joined
May 1, 2002
Messages
1,822
Office Version
  1. 365
Platform
  1. Windows

Forum statistics

Threads
1,136,878
Messages
5,678,305
Members
419,753
Latest member
Sallylwy

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
Top