How To Use Automation to Run a Word Macro with Arguments (183369)
The information in this article applies to:
- Microsoft Visual C++, 32-bit Enterprise Edition 5.0
- Microsoft Visual C++, 32-bit Enterprise Edition 6.0
- Microsoft Visual Basic for Applications 5.0
- The Microsoft Foundation Classes (MFC)
- Microsoft Word 2002
- Microsoft Word 2000
- Microsoft Word 97 for Windows
This article was previously published under Q183369 SUMMARY
This article discusses how to use version 4.2 of the Microsoft Foundation
Class (MFC) library installed with Microsoft Visual C++ to automate Word
and run a macro that requires argument(s).
REFERENCES
For more information about automating Microsoft Word using MFC, please
refer to the following articles in the Microsoft Knowledge Base:
178784 How To Use Automation to Open and Print a Word Document
180312 How To Use Automation to Set the Printer from an MFC Project
For additional information about the Automation of Office applications, click the article number below
to view the article in the Microsoft Knowledge Base:
222101 How To Find and Use Office Object Model Documentation
Modification Type: | Major | Last Reviewed: | 3/4/2005 |
---|
Keywords: | kbAutomation kbhowto kbinterop KB183369 |
---|
|