How to automate Excel using MFC and worksheet functions (178781)
The information in this article applies to:
- The Microsoft Foundation Classes (MFC), when used with:
- Microsoft Visual C++, 32-bit Editions 5.0
- Microsoft Visual C++, 32-bit Editions 6.0
- Microsoft Excel 97 for Windows
- Microsoft Excel 2002
This article was previously published under Q178781 SUMMARY
This article describes how to automate Microsoft Excel 97, Microsoft Excel 2000, Microsoft Excel 2002, or Microsoft Excel 2003 by using the Microsoft
Foundation Class (MFC) library, version 4.2 (installed with Microsoft
Visual C++ versions 5.0 and 6.0). Specifically, this article illustrates
how to use worksheet functions provided by an add-in such as the Analysis
ToolPak (ATP) and how to use the worksheet formula functions that are built-in to Microsoft Excel.
REFERENCESFor 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/8/2005 |
---|
Keywords: | kbAutomation kbhowto kbinterop KB178781 |
---|
|