Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

(Word2k) Save HTML w/o excess tags 1

Status
Not open for further replies.

Karl Blessing

Programmer
Feb 25, 2000
2,936
US
I have Office 2000 Premium, and I am wondering if there is an option, or way that when I save a doc (with tables sometimes) into a HTML file, without all the excess XML, Styles, <p...> etc and just to save it as pretty basic HTML. The reason for this is that it is too cumbersome to place on the site, and not only that some Non-IE browsers have problems with those unneeded (in my opinion) tags. Karl Blessing aka kb244{fastHACK}
kblogo.jpg
 
HOWTO: Programmatically Use the HTML Filter DLL to Save Word Documents as Plain HTML

--------------------------------------------------------------------------------
The information in this article applies to:

Microsoft Word 2000

--------------------------------------------------------------------------------


SUMMARY
Microsoft provides the Office 2000 HTML Filter 2.0 as a free download from the OfficeUpdate page on the following Microsoft Web site at:

This add-in to Microsoft Word 2000 allows users to save the currently open Word document as plain HTML without the XML data islands that are used by Word for &quot;round tripping.&quot; It does this by saving the current file out as a standard Office HTML file, and then removing the XML by using a special DLL (MSFilter.dll) that is installed by the add-in.

This article demonstrates how you can call this DLL from Visual Basic for Applications (VBA) so that you can programmatically produce plain HTML files in Word 2000 without using the user interface (UI )dialog boxes provided by the add-in.
 
Thanks, you replied just when I was going to need this again :) Karl Blessing aka kb244{fastHACK}
kblogo.jpg
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top