Well, it's possible but this is not a approach I'd want to undertake.
Instead, consider getting a Telnet Client Library. If you can get an ActiveX library, then it's immediately compatible with VBA and will be much easier to use & develop.
While you can use APIs to send & read commands, the...