I don’t know exactly what you did to copy the macros and what went wrong. Try
this in order to copy the SelectCurrentParagraph macro:
In Word, press Alt+F11. This will bring you to the Visual Basic Editor (VBE)
that opens in a separate window.
I suppose you saved the first macro in your Normal.dot. Therefore, in the
left side of the VBE window, double-click Normal. Now you will see two
folders, “Microsoft Word Objects†and “Modulesâ€. Double-click “Modulesâ€. Now
you will see the modules (containers for macros) found in your Normal.dot. If
you did not have any macros before yesterday, I think you will find only one
module named “NewMacros†- double-click that module. Now you should see the
“SelectCurrentSentence†macro plus the one you recorded (if you have more
modules, you can double-click them one by one to find your macros).
Copy the SelectCurrentParagraph macro from the newsgroup and paste it below
the other macros. In order to make sure that everything is correct, select
Debug (menu) > Compile Normal - if any errors are found in the macros in
Normal.dot, an error message will appear - hopefully, everything is correct.
In order to save Normal.dot, you can press Ctrl+S in the VBE while Normal.dot
is still selected (you can always see in the title bar of the VBE window
which document/template and module you are working on.).
When finished, close the VBE window. You can now assign a shortcut to the
SelectCurrentParagraph macro.
Hope this helps - once you get familiar with macros, it is actually helpful
to look at (and edit or maybe write) macros from the VBE. You could also have
a look at the code Word made for your en dash macro.
--
Regards
Lene Fredborg
DocTools - Denmark
www.thedoctools.com
Document automation - add-ins, macros and templates for Microsoft Word