How To Run Office Macros Using Automation From Visual C++ .NET (306686)
The information in this article applies to:
- Microsoft Access 2002
- Microsoft Excel 2002
- Microsoft PowerPoint 2002
- Microsoft Word 2002
- Microsoft Visual C++ .NET (2002)
- Microsoft Visual C++ .NET (2003)
This article was previously published under Q306686 For a Microsoft Visual Basic .NET version of this
article, see
306682. For a Microsoft Visual C#
version of this article, see
306683. SUMMARY With Microsoft Office Automation, you can open a document
or create a new document that contains a Visual Basic for Applications (VBA)
macro and execute the macro at run time. This article demonstrates how to call
Office macros from a Visual C++ .NET Automation client. REFERENCESFor additional information, click the
article numbers below to view the articles in the Microsoft Knowledge Base: 303872 How To Create an Excel Macro Using Automation from Visual C# .NET
177760 VBA: How to Run Macros in Other Office Programs
317157 PRB: Errors When You Reference the Access 10.0 Type Library with Visual Studio .NET
For more information and resources about Office
Automation, visit the following Microsoft Web sites:
Modification Type: | Major | Last Reviewed: | 5/5/2006 |
---|
Keywords: | kbAutomation kbhowto KB306686 kbAudDeveloper |
---|
|