How can I get the following code to capture the IP address of a URL and put it in a variable? It performs the traceroute command ok but the IP variable only captures the ping time.
Private Sub CommandButton1_Click()
Dim Ip
For Each x In Range("A3:A3"
Ip = Shell("tracert x, 1" 'Run Traceroute Command
Range("A3:A3" = Ip
Next
End Sub
Any suggestions would be much appreciated. Thanks in advance....
Private Sub CommandButton1_Click()
Dim Ip
For Each x In Range("A3:A3"
Ip = Shell("tracert x, 1" 'Run Traceroute Command
Range("A3:A3" = Ip
Next
End Sub
Any suggestions would be much appreciated. Thanks in advance....