How do I automatically number a word in a Para?

  • Thread starter Thread starter Trapshooter
  • Start date Start date
T

Trapshooter

I need to automatically number a specific word in a document. For example,
if I need to number each "shall" in a document, I want a way to automatically
search for the word "Shall" and place a number next to it, so I can refer to
the sentence and provide a response to it.

Any help out there??
 
Here's one possibility:

1. Create a SEQ field such as { SEQ shall } (if you don't know how to create
fields, post back for more detail.

2. Copy it to the Clipboard.

3. Use Find and replace to search for "shall" and replace with this: ^c^&
(or ^c ^& if you want a space between the number and the word; you can also
put punctuation around the number if desired).

This will insert the Clipboard contents (the SEQ field) before the found
text. After you've made all the replacements (you'll need to do it all in
one go), Ctrl+A and F9 to update the SEQ fields.
 
Suzanne,

Thanks for the reply - and could you explain how to create a SEQ field?
I'm sure this would be quicker than me stumbling around trying to figure how
to do it.

Thanks AGAIN - C.Richard (aka Trapshooter)
 
The easiest way is to press Ctrl+F9 and type SEQ something between the
braces that Word will insert. The "something" is the name of your sequence.
Every other SEQ field with that same name will increment the number (with
some exceptions governed by switches; you can learn more about those in the
Help topic "Field codes: Seq (Sequence) field." You can have as many
sequences as you want, each with a different name. They will number
independently of one another.

You can also insert any field using the Insert | Field dialog, and certain
other dialogs (such as Insert | Reference | Caption) also insert SEQ fields.

The most important thing to know about fields is that you cannot type the
field delimiters (the things that look like braces but can't be entered from
the keyboard; you have to insert them using Ctrl+F9 (or using Insert |
Field). You can either insert the field and then fill it in, or, if you're
familiar with the syntax, you can type the field code, then select it and
press Ctrl+F9 to turn it into a field.
 

Ask a Question

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.

Ask a Question

Back
Top