Please Note: This article is written for users of the following Microsoft Word versions: 2007, 2010, 2013, 2016, 2019, and Word in Microsoft 365. If you are using an earlier version (Word 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Word, click here: Automatic Numbers with Leading Zeroes.

Automatic Numbers with Leading Zeroes

Written by Allen Wyatt (last updated April 9, 2024)
This tip applies to Word 2007, 2010, 2013, 2016, 2019, and Word in Microsoft 365


1

Word provides a tool that allows you to add automatic numbering to paragraphs; this tool has been discussed in other WordTips. At some point you may want to add leading zeros to your numbering, such as with 00001, 00002, 00003, etc.

If you add the leading zeros to what you type (type four zeros, the number one, a period, a tab, and your paragraph text), then when you press Enter Word will format the paragraph, so it is numbered. The problem is that all of your leading zeros are, with the exception of one of them, removed in the process. This means that you end up with 01 instead of 00001 at the beginning of the paragraph.

You can, if you desire, customize the way the numbering is done. (In the Numbering tool drop-down list choose Define New Number Format to display the appropriate dialog box.) You can then add additional zeros to the beginning of the format for the paragraph.

One drawback to this approach is that the zeros you add are not really a part of the format; they are, instead, just additional characters that precede the numbers managed by Word. This isn't a problem until you get more than 99 items in your numbered list. The number 00099 looks fine, but the next paragraph will be 000100, which is obviously wrong. You could then adjust the formatting of the paragraph so you only have two extra zeros at the lead and that numbering starts at 100 with that paragraph, but this can be bothersome when you later add or remove paragraphs from within your numbered list.

Because of this drawback, many people use a different method of automatic numbering when special formats (like the leading zeros) are needed. The most common approach is to use the SEQ field. For example, you could use the following format to implement the leading zeros:

{SEQ MyList \# "00000"}

Using a SEQ field like this at the beginning of each of your paragraphs will provide the leading-zero numbers that you want. You'll need to update the fields after making any changes to the list, but you'll get the results you want.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (10609) applies to Microsoft Word 2007, 2010, 2013, 2016, 2019, and Word in Microsoft 365. You can find a version of this tip for the older menu interface of Word here: Automatic Numbers with Leading Zeroes.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Flipping a Drawing Object

Don't like the way a drawing object looks? Perhaps flipping the object could help appearances. Excel allows you to flip ...

Discover More

ISO Week Numbers in Excel

Work in an industry that uses ISO standards when it comes to working with dates? You'll love the formula in this tip ...

Discover More

Moving from Sheet to Sheet

Need to move quickly through the worksheets in a workbook? Learn the keyboard shortcuts and you can make short work of ...

Discover More

Create Custom Apps with VBA! Discover how to extend the capabilities of Office 2013 (Word, Excel, PowerPoint, Outlook, and Access) with VBA programming, using it for writing macros, automating Office applications, and creating custom applications. Check out Mastering VBA for Office 2013 today!

More WordTips (ribbon)

Combining First and Second Numbered Levels on One Paragraph

Want to customize your paragraph numbering in Word? There are a few tricks that can be used to automatically display the ...

Discover More

Converting Lists to Text

If you have a numbered list in a document, you might want to convert it to regular, non-dynamic text and not lose the ...

Discover More

Skipping Numbering

Got a numbered list, but you want to add other types of non-numbered paragraphs in the middle of the list? It's easy to ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 6 + 5?

2023-03-26 20:34:05

Troy D

I have been searching about adding an Invoice/statement number that will update to the next number in the sequence when I right click and choose update field. I would also like to have the Invoice/statement number to have zeroes in front of the number until it reaches 099 and then change to 100, how do I do that? I have read one of the tips by a Dave such and such about adding zeroes in front of the number in SEQ fields and he says to add additional fields but he doesn't explain how to do that. I know my way around Word but I am not that informed in all the functioning's of Word 2013. Can you elaborate on how to do this? I am including an image (see Figure 1 below) . From your article above, MyList is your Identifier or your Bookmark? I understand the Identifier is what you are calling the SEQ, right? Can you explain what each of these mean after SEQ..."SEQ Identifier [Bookmark] [Switches]?

Thank you for your help and time.

Figure 1. 


This Site

Got a version of Word that uses the ribbon interface (Word 2007 or later)? This site is for you! If you use an earlier version of Word, visit our WordTips site focusing on the menu interface.

Videos
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.