Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

ping using vba

Posted on 2013-10-24
2
Medium Priority
?
485 Views
Last Modified: 2013-10-24
Does anyone have a vba example of how to ping a server ip address?
0
Comment
Question by:tesla764
2 Comments
 
LVL 37

Assisted Solution

by:Kimputer
Kimputer earned 300 total points
ID: 39597860
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
 
LVL 26

Accepted Solution

by:
pony10us earned 1200 total points
ID: 39597866
Without knowing what you are trying to actually acomplish this is the shortest answer:

shell "ping xxx.xxx.xxx.xxx"
0

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Integration Management Part 2

972 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question