How To Automate Using VC++ to Save Excel Worksheet as HTML File (199691)
The information in this article applies to:
- Microsoft Office Excel 2003
- Microsoft Excel 2002
- Microsoft Excel 2000
- Microsoft Excel 97 for Windows
- Microsoft Visual C++, 32-bit Enterprise Edition 5.0
- Microsoft Visual C++, 32-bit Enterprise Edition 6.0
- Microsoft Visual C++, 32-bit Professional Edition 5.0
- Microsoft Visual C++, 32-bit Professional Edition 6.0
- Microsoft Visual C++, 32-bit Learning Edition 6.0
- Microsoft Office XP Developer
- Microsoft Office 2000 Developer
This article was previously published under Q199691 SUMMARY If you have the Internet Assistant Wizard add-in (Html.xla)
installed, Microsoft Excel 97 or Excel 2000 provides a menu option on the File
menu to save a worksheet as an HTML file.
This article provides
sample code to do the same thing through Automation, using the htmlConvert
macro provided by the Wizard. The code requires Excel 97 with Service Release 2
or Excel 2000 REFERENCES
For additional information about using MFC to do automation, click the following article number to view the article in the Microsoft Knowledge Base:
178749
How To Create Automation Project Using MFC and a Type Library
(c) Microsoft Corporation 1998, All Rights Reserved.
Contributions by Chris Jensen, Microsoft Corporation.
Modification Type: | Minor | Last Reviewed: | 6/29/2004 |
---|
Keywords: | kbAutomation kbhowto KB199691 |
---|
|