Autonumbering with user-defined format

R

Roberto Rocco

Hello,

I want to insert auto-numbers in arbitrary text positions. These
auto-numbers should have a user-defined format, e.g.: "TOP 0001", "TOP0002",
"TOP 0003", etc.

So there should be a leading text in front of the number, and the number
itself should have a fixed length with leading zeros.

Is that possible? How?

Many thanks for every hint.

Best regards,

Roberto Rocco.
 
S

Stefan Blom

You can use SEQ fields. For example:

{ SEQ myseq \# "'TOP' 0000" }

To insert the field delimiters, { }, press Ctrl+F9. Type the code as shown.
(What you can modify, though, is the "myseq" part; it names the sequence,
and you can choose something that makes sense to you.) Then press F9 to
update. To create additional fields in the same sequence, you can either
repeat this procedure, or copy existing fields.

Note that SEQ fields do not update automatically, which will be especially
apparent if you used copy and paste to insert new ones. Instead, switch to
Print Preview and back, which triggers an update, or select the whole
document (Ctrl+A) and update the fields explicitly (by pressing F9).

To show/hide field codes, press Alt+F9.

--
Stefan Blom
Microsoft Word MVP


in message
news:[email protected]...
 

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