Hi all,

I've been trying to figure out how I can get this to work for a few days now and I'm sure it's possible.

Bellow is what I currently have. This enables me to log into putty which is great.
"
Sub RunPutty()
Program = "C:\Program Files (x86)\Putty\putty.exe " & Range("B4") & " -l " & ("username") & " -pw " & ("password")
"
What I'd really like is for the script to run a command. For example "ping" followed by an IP in a cell, say A2.

I hope that makes sense :S

Cheers

James