Here's how to fix the "Variable not defined" error.
Add "dim i" (without the quotes) to the top of the
Sub Transform_HTML() macro...just below the green remarks
Also add "Public Entities, Quotes, CharFonts As Variant" (without the quotes) just below the
Option Explicit statement at the very top of the module.
It should look like this when you are done:
Quote:
Option Explicit
Public Entities, Quotes, CharFonts As Variant
Sub Transform_HTML()
' This macro converts the active document into a document with HTML tags for layout.
' Version 2.6 - Toxaris
' - fixed some strange effect withs tables
' - fixed unnecessary code in HTML when there are no notes
' - added guillemots as quote characters
' - streamlined replacements
Dim i
ActiveDocument.Save
Application.ScreenUpdating = False
|
I hope that helps!
Cheers,
Dion