The information in this article applies to:
SUMMARY
This article contains two examples of how you can use Microsoft Excel to
"poke" data to another application during a DDE conversation.
MORE INFORMATIONVisual Basic for ApplicationsTo successfully use DDEPoke, place the text ("Hello World!" in this example) in a cell and reference the range object with DDEPoke. For example, if Sheet1!A1 contains the text "Hello World!", use the following command:
Note that the following command will fail because the Data argument is a
string:
Microsoft Excel 4.0 Macro LanguageTo successfully use POKE(), place the text (in this example "Hello World!") in a cell and reference the cell with POKE(). For example, if Sheet1!A1 contains the text "Hello World!", use the following command:
Note, however, that the following command will fail because the Data
argument is a string:
REFERENCES"Visual Basic User's Guide," version 5.0, Chapter 10, Section "Using DDE," pages 209-213 Additional query words:
Keywords : kbprg PgmHowto |
Last Reviewed: November 9, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |