|$variable||is the variable containing the DDE channel number. The DDE channel is established by the DDEInitiate command.|
The DDETerminate command closes the Dynamic Data Exchange (DDE) channel.
' This script starts Microsoft Excel with a test spreadsheet,
' gets the data in row 1 column 1 of the spreadsheet, terminates Excel,
' and types the requested text into the terminal emulation screen at
' the current cursor location.
Run("C:\Program Files\Microsoft Office\Office11\excel.exe ""D:\Test.xls""")
$channel = DDEInitiate("EXCEL","Sheet2")
$result = DDERequest($channel,"R1C1")
TN3270 Plus is continually being improved. To learn more about the latest enhancements, please review our Version History web page.