J
JStone0218
I need help with the following code. I would like to ping an IP Address
(x.x.x.x) that is referenced to cell A1 in Sheet1.
Any help is appreciated.
Sub Ping()
Sheets.Add
Shell ("cmd /c ping -n 10 -l 1024 x.x.x.x > c:\ping.txt")
Application.Wait Now + TimeSerial(0, 0, 15)
End Sub
(x.x.x.x) that is referenced to cell A1 in Sheet1.
Any help is appreciated.
Sub Ping()
Sheets.Add
Shell ("cmd /c ping -n 10 -l 1024 x.x.x.x > c:\ping.txt")
Application.Wait Now + TimeSerial(0, 0, 15)
End Sub