ping using vba

Does anyone have a vba example of how to ping a server ip address?
tesla764Asked:
Who is Participating?
 
pony10usConnect With a Mentor Commented:
Without knowing what you are trying to actually acomplish this is the shortest answer:

shell "ping xxx.xxx.xxx.xxx"
0
 
KimputerConnect With a Mentor Commented:
You can use the code described in:

http://www.vbaexpress.com/forum/showthread.php?5233-Solved-VBA-Excel-XP-Ping

The third post. Might need a little bit of tweaking with the declare lines
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.