How To Use MFC to Automate Excel and Navigate Worksheets (178782)
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 Office XP Developer
- Microsoft Office 2000 Developer
- Microsoft Excel 2002
This article was previously published under Q178782 SUMMARY
This article discusses how to use version 4.2 of the Microsoft Foundation
Class (MFC) library installed with Microsoft Visual C++ versions 5.0 and
6.0 to automate Microsoft Excel. Specifically, it shows how to navigate
between the worksheets in a workbook and place data in the cells of each
worksheet.
REFERENCESFor additional information about the Automation of Office applications, see Microsoft Knowledge Base article, 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 KB178782 |
---|
|