Hello,
I have the following code:
This causing an array of command prompts to appear and disappear over the spread sheet. Is there a way for this to be less intrusive? Such as starting the windows minimized or, ideally, not even showing them at all?
Any help will be greatly appreciated.
Thanks,
I have the following code:
Code:
For Each tmpCell In Range("F8:F14")
With tmpCell
If .Value <> "" Then
status = CreateObject("WScript.Shell").Exec("%comspec% /c Ping -4 -n 1 -w 750 " & .Value).StdOut.ReadAll
If InStr(status, "TTL=") Then
.Interior.ColorIndex = 4
Else
.Interior.ColorIndex = 3
End If
End If
End With
Next
This causing an array of command prompts to appear and disappear over the spread sheet. Is there a way for this to be less intrusive? Such as starting the windows minimized or, ideally, not even showing them at all?
Any help will be greatly appreciated.
Thanks,