How to embed and automate a Microsoft Excel worksheet with MFC (184663)
The information in this article applies to:
- Microsoft Excel 2000
- Microsoft Visual C++, 32-bit Professional Edition 5.0
- Microsoft Visual C++, 32-bit Professional Edition 6.0
- The Microsoft Foundation Classes (MFC)
- Microsoft Office XP Developer
- Microsoft Office 2000 Developer
- Microsoft Excel 2002
- Microsoft Excel 97 for Windows
This article was previously published under Q184663 SUMMARY This article describes how to embed a Microsoft Excel
Worksheet into a View object in an SDI MFC application.
This article
includes step-by-step instructions for embedding the worksheet and adding some
text to cell A1, as well as comments explaining each step.
Although
the sample code in this article can be taken and put into your application, the
real benefit comes from reading and understanding the sample.
Modification Type: | Minor | Last Reviewed: | 3/21/2005 |
---|
Keywords: | kbProgramming kbAutomation kbhowto kbinterop KB184663 |
---|
|