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: 3,464
Karma: 38748211
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.

*** I strongly recommend to take a look at the Word add-in instead. It has much more features and is actively maintained. ***
Attached Files
File Type: zip transform_html 2.8_eng.bas.zip (6.4 KB, 2065 views)

Last edited by Toxaris; 02-28-2015 at 02:22 AM.
Toxaris is offline   Reply With Quote