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
Sub ralph()
Set session = GetObject(, "ReflectionIBM.Session")
session.movecursor 1, 2
session.transmitansi "aara01"
session.transmitterminalkey rcibmenterkey
End Sub