Converting a Bullet List in Word to HTML

The obvious solution is to save as an html document in Word, but the markup produced is not usable. There are several ways to convert the content into clean html.

word-html2

1. Copy/Paste into Dreamweaver in Design Mode.

word-html1

2. Copy/Paste into WordPress in Visual Mode.

word-html3

3. Script a macro to pull out all the links. Referenced from: microsoft

1
2
3
For Each objHyperlink in ActiveDocument.Hyperlinks
    ActiveDocument.Words.Last.InsertAfter(vbcrlf & "<li><a href=""" & objHyperlink.Addres & """>" & objHyperlink.TextToDisplay & "</a></li>")
Next
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *