question

JonAndersen-9339 avatar image
0 Votes"
JonAndersen-9339 asked ·

VBA <> PuTTY I/O communication

I'm using Excel VBA to communicate with external equipment via Telnet. I can send commands using PLink/PuTTy). Ex. below: Set WshShell = CreateObject("WScript.Shell") IP = Range("FEP_Test!C9").Value WshShell.Run "putty.exe -telnet " & IP Sleep 2000 WshShell.SendKeys "root" WshShell.SendKeys ("{Enter}") Sleep 500 WshShell.SendKeys "bpshell" WshShell.SendKeys ("{Enter}") Sleep 500 But I cannot get the the replies back into VBA/Excel. How do I read the repiles based upon the commands? Hope you can help :)

office-vba-dev
· 1
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Sorry the very confusing text above. All line shifts were removed for some reason :-(

0 Votes 0 ·

0 Answers