14.2.3.1        DDE Keymacro Examples

Example 1 - Send value of Text50 to EXCEL spreadsheet cell named REALDATA. EXCEL must be running and the Workbook opened.

<DDEPOKE>EXCEL|Sheet1!REALDATA=@text50

 

Example 2 - Send value of analog1 to EXCEL workbook named Book1.xls, cell named REALDATA.                          

<DDEPOKE>EXCEL|Book1.xls:Sheet1!REMOTESP=@analog1

 

Example 3 - Get value from EXCEL spreadsheet from cell named RSP. EXCEL must be running and a single Workbook opened.

<DDEREQUEST>text70=EXCEL|Sheet1!RSP

                  

Example 4 - Get value from EXCEL spreadsheet from cell named RSP in workbook namedBook1.xls               

<DDEREQUEST>text70=EXCEL|Book1.xls:Sheet1!REMOTESP