Sample Code Demonstrating DDEPoke and POKE() (139881)
The information in this article applies to:
- Microsoft Excel 97 for Windows
- Microsoft Excel for Windows 95
- Microsoft Excel for Windows 5.0
This article was previously published under Q139881 SUMMARY
This article contains two examples of how you can use Microsoft Excel to
"poke" data to another application during a DDE conversation.
The commands in both examples, DDEPoke (Visual Basic for Applications)
and POKE() (Microsoft Excel 4.0 Macro language), accept three arguments:
Channel Number, Item, and Data.
Note that the Data argument can only refer to text or numbers that are
represented by a range object. You cannot directly use a string or numeric
value for the Data argument or the command will fail.
REFERENCES
"Visual Basic User's Guide," version 5.0, Chapter 10, Section "Using DDE,"
pages 209-213
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbhowto kbProgramming KB139881 |
---|
|