How To Pass Arguments to a Word Macro by Using Dynamic Data Exchange (DDE) (274284)
The information in this article applies to:
- Microsoft Office Word 2003
- Microsoft Word 2002
- Microsoft Word 2000
- Microsoft Word 97 for Windows
This article was previously published under Q274284 SUMMARY
This article demonstrates how to use Dynamic Data Exchange (DDE) to call a Microsoft Word macro that requires one or more arguments.
Note When possible, Microsoft recommends that you use Automation, not DDE, to communicate with Microsoft Word. Microsoft Office applications support rich object models that provide functionality through Automation that is not available with DDE. Microsoft Word versions 7.0 and later support Automation.
REFERENCES
For additional information about running a Word macro without passing arguments, click the following article number to view the article in the Microsoft Knowledge Base:
213430
How to run a WordBasic macro from a Microsoft Excel macro
For additional information about passing arguments to a Word macro by using automation, click the following article number to view the article in the Microsoft Knowledge Base:
172483
How To Run a Word 97 macro that requires arguments
For additional information about Office automation, visit the following Microsoft Developer Network (MSDN) Web site:
Modification Type: | Major | Last Reviewed: | 3/23/2006 |
---|
Keywords: | kbDDE kbhowto KB274284 kbAudDeveloper |
---|
|