Klause,
Here are two examples of macros written for this task
http://www.archivum.info/microsoft.public.word.docmanagement/2008-06/msg03016.htm
http://www.archivum.info/microsoft.public.word.docmanagement/2008-06/msg02966.html
One was written by myself, the other by Doug Robbins (Word MVP).
If you have any questions about the macros, just ask.
Steven Craig Miller
P.S. To Install a Macro:
Go to VBA editor via Tools > Macro > Visual Basic Editor (or Alt-F11).
Open the Project Explorer (if not open) , the shortcut key is Ctrl-R.
It will have the name “Project.â€
Click on the template where you would like to store your macro.
For example click on “Normal.â€
Insert a new Module with: Insert > Module.
It should have the name Module1.
(You can re-name your new module now or later by clicking on F4, this should
bring up the Properties Window. In the field following “(name)†you can
change the module’s name. Close the Properties window, now the new Module
should have a new name.)
The code window should now be open.
The code window has General & Declarations at the top.
If it is not open, double click on the Module.
Cut and past your macro into the code window.
You can store more than one macro in a module.
To run your macro, go back to your document and click on Alt-F8.
Alt-F8 will bring up the macro menu from which you can pick your macro and
run it.