Search all of Office.com
 
Support / Word / Word 2003 Help and How-to / Automating Tasks and Programmability / Field Types and Switches / Field Reference / Field Code - A
 
 

Field codes: AutoNumLgl field

Applies to: Microsoft Word 2010, Word 2007, Word 2003

 

{ AUTONUMLGL [Switches ] }

Automatically numbers paragraphs for legal and technical publications. The AUTONUMLGL field is provided for compatibility with Microsoft Word 2000 and earlier versions.

 Note   It is recommended that you use the LISTNUM field in place of the AUTONUMLGL field when using Microsoft Word 2010, Word 2007, Word 2003, and Word 2002.

Use the built-in heading styles (heading style: Formatting applied to a heading. Microsoft Word has nine different built-in styles: Heading 1 through Heading 9.) to format headings in the document, and then insert an AUTONUMLGL field at the beginning of each heading paragraph. The numbers reflect the heading levels that correspond to the heading styles. If you insert an AUTONUMLGL field in paragraphs of body text (paragraphs not formatted with built-in heading styles), the number of the preceding heading is included in the paragraph number. For example, if the preceding heading is numbered 1.2.3, paragraphs of body text are numbered 1.2.3.1, 1.2.3.2, 1.2.3.3, and so on.

ShowSwitches

\e

Displays the number in legal format without the period.

\s

Defines the separator character, which you place directly after the switch (switch: When working with fields, a special instruction that causes a specific action to occur. Generally, a switch is added to a field to modify a result.).

 Notes 

  • You cannot manually update an AUTONUMLGL field.
  • Word doesn't display the result of an AUTONUMLGL field if the field is nested within an IF field.