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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Word 2003 save as wdFormatFilteredHTML

Status
Not open for further replies.

emozley

Technical User
Jan 14, 2003
769
GB
Hi,

I am trying to write a macro that saves a document that's being typed in Word as a filtered HTML file.

The line I'm using is:

ActiveDocument.SaveAs TheFolder & "\" & "OPM Document 3.htm", FileFormat = Word.WdSaveFormat.wdFormatFilteredHTML

I've also tried FileFormat=10 and I've tried giving the filename different extensions but no luck so far. The file that it produces is some kind of binary file with an .HTM extension.

Any ideas? I am using Word 2003 by the way.

Thanks very much

Ed
 
FileFormat[!]:[/!]= Word.WdSaveFormat.wdFormatFilteredHTML

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top