You'd need a macro, but you don't provide any where near enough information
for me to even begin to tell you in what direction to start looking. I
suggest you take this question to a more appropriate group, one of the
word.vba ones. Besides describing EXACTLY what you have and what you need,
don't forget to mention the VERSION of Word.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.