The information in this article applies to:
SUMMARYIt is possible to write a Visual Basic program to communicate with Microsoft Word for Windows using DDE (Dynamic Data Exchange). The following example displays the syntax necessary to run a Word for Windows macro from a Visual Basic application: Const COLD = 2
MORE INFORMATIONThe most important part of this macro from the Word for Windows viewpoint is the syntax to communicate with Word for Windows specifically. The command that actually executes the macro is the .LinkExecute command. This is the Visual Basic equivalent of the DDEExecute in Word for Windows. The correct lines of code to run a Word for Windows macro should follow this syntax:
REFERENCES"Microsoft Visual Basic Programmer's Guide," pages 354-376 Additional query words: winword2 6.0 1.x 2.0 winword word7 word6 7.0 word95
Keywords : |
Last Reviewed: October 4, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |