Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

transmit terminal key problem

Status
Not open for further replies.

hobo3

Technical User
Apr 6, 2008
1
US
I am trying to communicate with an ibm reflection terminal with vba in excel, and when I write the following code I get "invalid first argument" error for the transmitterminalkey line. How do I send the enter command to the terminal?


Sub ralph()


Set session = GetObject(, "ReflectionIBM.Session")
session.movecursor 1, 2
session.transmitansi "aara01"
session.transmitterminalkey rcibmenterkey


End Sub
 
I think you need to reference the Reflection library:
menu Tools -> References ...

Tip: use the Option Explicit instruction.

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top