-
Detect Internet Connection
Looking for a simple method to test if the computer is connected to the internet. True or false.
I have a program that is used across several remote locations and it needs to determine if there is an internet connection.
I'm using dropbox as a repository for the files.
Any ideas?
-
-
Originally Posted by
OBP
Darn that seems simple....
If My.Computer.Network.IsAvailable Then MsgBox("Computer is connected.")Else MsgBox("Computer is not connected.")EndIf
I tried this but it is asking me to define "My." Is that the name of the application or possibly a control or form? I really appreciate your replies.
-
OK, that code is only available for VB and not VBA.
I have found other code that are little more complicated, this guy has listed a few.
https://www.mrexcel.com/forum/excel-...onnection.html
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules