How To Initiate DDE from Visual Basic for Windows to Excel for Windows (75089)
The information in this article applies to:
- Microsoft Visual Basic Standard Edition for Windows 2.0
- Microsoft Visual Basic Standard Edition for Windows 3.0
- Microsoft Visual Basic Professional Edition for Windows 2.0
- Microsoft Visual Basic Professional Edition for Windows 3.0
- Microsoft Visual Basic Standard Edition for Windows 1.0
- Microsoft Excel for Windows 5.0
This article was previously published under Q75089 SUMMARY
This article describes how to initiate a dynamic data exchange (DDE)
conversation between a Visual Basic destination application and a
Microsoft Excel source application.
This article demonstrates How To
- Prepare a Microsoft Excel for Windows document for active DDE.
- Initiate a manual DDE link (information updated upon request from the
destination) between Visual Basic (the destination) and Excel (the source).
- Use the LinkRequest method to update information in Visual Basic (the
destination) based on information contained in Excel (the source).
- Initiate a automatic DDE link (information updated automatically from
source to destination) between Visual Basic (the destination) and Excel
(the source).
- Use the LinkPoke method to send information from Visual Basic (the
destination) to Excel (the source).
- Change the LinkMode property between automatic and manual.
REFERENCES
For more information on DDE between Visual Basic and other Windows-based
applications, query on the following words in the Microsoft Knowledge Base:
DDE and Visual Basic
Modification Type: | Minor | Last Reviewed: | 2/21/2005 |
---|
Keywords: | kbhowto KB75089 |
---|
|