MS Word Macros
New
- a calendar macro including movable holidays (secular, Jewish, and Christian) and allowing user input of personal data: birthdays, anniversaries, etc.
- a macro that checks for duplicate words in a file or a selected portion of a file--indispensable for writers
Coming soon:
- all kinds of macros for deleting, moving, inverting, finding, quoting, bracketing, counting, bookmarking...
NoteHTML Macro
Unlike Word Perfect, MSWord simply removes the footnotes when you convert
a .doc file into HTML--a glaring deficiency when you are running an electronic
journal with some pretension to scholarly respectability.
This macro will convert the active Word .doc file to HTML and convert
the footnotes as well. If you have both footnotes and endnotes in the file,
it will prompt you to either combine them or choose one of the two sets
to convert (two separate sets of notes would be cumbersome in an HTML file).
The notes are converted to endnotes, including a (back) reference
to the text, an indispensable feature in HTML endnotes that Word Perfect
leaves out.
Installation Instructions
-
Download the file NoteHTML.zip
to your computer. (Right-click on the link, then go to Save Link As..)
-
Extract the three files: NoteHTML.bas, NoteHTML_frm.frm, and NoteHTML_frm.frx
.
-
Open Word, then type Alt-F11 to open the Visual Basic window.
-
Type Ctl-M to open the Import File window.
-
Import NoteHTML.bas and NoteHTML_frm.frm from the directory to which you
downloaded in (2) (two separate operations).
-
Return to Word by clicking on the "W" icon.
The Note macro is now installed. It can be accessed through the Tools menu,
or by typing Alt-F8.
Use Instructions
Make sure the .doc file you are converting is the active document in Word
when you run the macro. The simplest way to ensure this is to maximize
the window in which it is running. The macro will close the original
.doc file and create a new .htm file with the same filename. Thus if anything
goes wrong with the macro, your original file will not be damaged. Of course,
a backup is always a good idea.
After the macro has run, you will see the new .htm file on your screen.
You can close the file after examining it, as it has already been saved
to disk.
Eric Gans /
gans@humnet.ucla.edu
Last updated: