Word Macro to convert Simple HTML to formatting

I have a document that was imported from HTML, so it has the HTML tags, such as <em>, <I>, <p>, <b>, &nbsp;, etc.
I want to convert all these tags to the appropriate formatting.
Is there a way to do that with a macro? Does one already exist?
Thank you.
Lev SeltzerAsked:
Who is Participating?
 
Paul SauvéRetiredCommented:
GrahamSkan is correct...

In my experience, after opening the file in Word, I do is change the view from Web Layout to Print Layout

I find that I have had to remove parts of the html file (superfluous tags, etc) and do a bit of editing in order to get better results.
0
 
GrahamSkanRetiredCommented:
Word can open HTML files, thought the presentation might not be the same as a browser, so the usual way to convert would be to open the file and to save it as a .docx file.

If this doesn't work satisfactorily, please post a sample file here.
0
 
Lev SeltzerAuthor Commented:
See the attached for an example.
The HTML starts in the data file and gets merged into a standard word document.
I want to remove the HTML tags.
example.docx
0
 
Lev SeltzerAuthor Commented:
I hired a programmer to write the macro for me.
Thank you.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.