automatic numbering, algorithms

G

Guest

I have large documents where I need to number the text as follows:

Comment #1
text here
Response #1
text here

Comment #n
text here
Response #n
text here

Does anyone have any suggestions for making the numbering automatic, based
on the location of the comment/response relative to other comments/responses
around?

Thank you in advance.
 
G

Guest

I am not positive but I have not seen that done in a Word document....I
imagine you could write a macro to do it but that would require the help of a
expert.

Good luck.
 
G

Guest

I just figured it out. Insert an autonumber field for the first number,
bookmark it, and insert a reference to the bookmark text for the second
iteration. i.e.,
Comment #<<autonumber field>> (bookmarked)
Response #<<reference to bookmark>>

This is a lot of bookmarks, but it is useful to me because the
comments/responses are moved around a lot throughout the document, and I
don't want to have to update the numbering by hand all the time.

If there's an easier way, where you can program the autonumber fields to
repeat or skip every other time, that would be cool.
 
G

Graham Mayor

You could reduce the number of steps by creating two SEQ fields - one for
the comment, one for the response and save them as formatted autocorrect
entries. Use triggers of #c and #r respectively. You will have to use
CTRAL+A then F9 to update them all wheh you have finished to show the
correct numbers..
or
You could create two outline numbered paragraph styles - one for the comment
one for the response and apply a keystroke shortcut to each.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
S

Suzanne S. Barnhill

SEQ fields and numbered styles were my thought, too. What was unclear from
the OP, though, was whether the numbers are supposed to change dynamically
as comments and responses are moved around and whether the comments and
their associated responses always stayed together. I would tend to assume
both, but it didn't seem clear from posts later in the thread.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 

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

Top