This sample shows how to create an Excel macro to enter data into a Reflection demo terminal session from an Excel spreadsheet.
This sample applies only to IBM terminals
This macro creates a new Reflection session as explained in Create a Session From a Microsoft Excel Macro. Then it navigates to the screen that has the data form as explained in Navigating Sessions.
It assigns the values from the current row in the Excel spreadsheet to local variables and puts these values into the appropriate fields on the first screen, using the PutText2 method. After putting the values into the form, it enters the data in the program using the SendControlKey method.