Microsoft KB Archive/211649

= WD2000: Resetting Sequence Numbering Using a Bookmark =

Article ID: 211649

Article Last Modified on 12/6/2000

-

APPLIES TO


 * Microsoft Word 2000 Standard Edition

-



This article was previously published under Q211649





SUMMARY
You can use the SET field to reset the sequence numbering of SEQ fields in a Word document to start at a specific value.



MORE INFORMATION
The "\r" switch can be used in a SEQ (Sequence) field to reset a sequence of numbers. You can also set a bookmark with a numeric value in this field. The SET variable is considered a bookmark after the SET field is updated. (The field can be updated by pressing F9 while the field is selected.)

In the following example, the bookmark "StartNumber" is set to 2000 at the beginning of the document. The SEQ field starts the sequence "Number" at "StartNumber", which results in 2000. Each subsequent SEQ field increases the value of "Number" by 1.

For example, to reset a numbering sequence, use a SET field similar to the following:

{SET StartNumber 2000}

NOTE: In this example, the value of the variable StartNumber is set to 2000. Also, the variable StartNumber becomes a bookmark as a result of the SET field and must be contained in field brackets when you use it, as in the following example.

To apply the reset value, use a SEQ field with the "\r" switch similar to the following:

{SEQ Number \r {StartNumber}}

NOTE: The result of this SEQ field is 2000.

Then use the SEQ field to insert the sequence, as in the following example:

{SEQ Number}

{SEQ Number}

{SEQ Number}

{SEQ Number}

NOTE: The result of these SEQ fields is as follows:

2001

2002

2003

2004

For more information about using the Sequence field, click Microsoft Word Help on the Help menu, type SEQ in the Office Assistant or the Answer Wizard, and then click Search to view the topics returned.

Additional query words: anual sequences numerical series

Keywords: kbinfo KB211649

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.