One more plea for assistance - Is there a good primer that you can point me
to for creating a macro like this one? I'm trying to "cut and paste" but
running into a bit of difficulty - getting "syntax errors" when I try to run
the macro.
Start here, if necessary:
What do I do with macros sent to me by other newsgroup readers to help me
out?
I don't know how to install them and put them to use
http://word.mvps.org/FAQs/MacrosVBA/CreateAMacro.htm
Then see if this info helps, once you have the macro in the Visual Basic
Editor:
Common Problems: All macros must start with a Sub statement and end with an
End Sub. If the code someone gave you already had the Sub/End Sub in it, you
will need to delete the extra Sub lines. It is conceivable that a
sophisticated piece of code may also contain Function() and End Function
statements: for the purposes of this article, treat them as equivalent.
Lines that show up in red have errors. This is most likely because there are
line breaks in the wrong place, since newsgroups and email can force shorter
line breaks. To fix these, place your cursor at the end of the first red
line, and start tapping Delete. When you delete all the invisible spaces and
carriage returns, the next line will move up and that may fix the problem.
Do not delete any visible characters. Be aware that the statement in red may
continue over three or four lines. You may need to re-enter a space that you
delete.
Laptop users: the delete key usually behaves as a backspace key. You could
also backspace from the beginning of the lines in red, to let the VBE wrap
the lines naturally.
And perhaps see also:
Guide to Installing Macros
http://www.gmayor.com/installing_macro.htm