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
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