Bearing in mind that DOCX and HTML have different, and in some cases incompatible, formatting requirements, have you tried simply saving the document as Web Page Filtered HTM.HTML from Word? The file includes a lot of unwanted style at the top, when examined in Notepad, which can be removed. The tags are retained.
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
|