How To Automate Linked and Embedded OLE Documents (193039)
The information in this article applies to:
- Microsoft Office 97 for Windows, when used with:
- Microsoft Visual C++, 32-bit Editions 5.0
- Microsoft Visual C++, 32-bit Editions 6.0
- Microsoft Office 97 for Windows
This article was previously published under Q193039 SUMMARY
This article describes how to automate an embedded or linked OLE
document. It contains sample code for acquiring an IDispatch interface
pointer to the embedded or linked document's server, as well as step-by-
step instructions for automating a linked Microsoft Excel worksheet.
Although you can use the code in your application, the real benefit comes from
reading and understanding the sample.
REFERENCES
For more information on automating Excel, please see the following articles
in the Microsoft Knowledge Base:
184663
How To Embed and Automate a Microsoft Excel worksheet with MFC
179706
How To Use MFC to Automate Excel & Create/Format a New Workbook
186120
How To Use MFC to Automate Excel and Fill a Range with an Array
Modification Type: | Minor | Last Reviewed: | 3/7/2005 |
---|
Keywords: | kbAutomation kbcode kbhowto kbinterop KB193039 |
---|
|