View Single Post
Old 07-12-2011, 07:50 AM   #1
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 2,850
Karma: 2417001
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
Word macro for clean HTML code

If anybody is interested, I create a macro to transform a Word document to clean HTML. The following things are supported:
- simple formating (italic, bold, underline, superscript, etc)
- 1 level lists
- tables
- images
- foot- and endnotes
- hyperlinks (internal and external)
- header tags
- custom named styles in Word
- bookmarks

It will use UTF-8.

Just unpack the .bas file. Press Alt+F11 in word and import the .bas file into the Normal.dot.

Comments have been removed or translated into English.
Attached Files
File Type: zip transform_html 2.8_eng.bas.zip (6.4 KB, 1360 views)

Last edited by Toxaris; 05-06-2013 at 12:32 PM.
Toxaris is offline   Reply With Quote