Is there a way to create automatically numbered headings larger than Heading 9? Our format is 1.1.1.1.1.1.1.1.1.1. Any help would be appreciated.
I have seen a way to do it with a period after the last number but that won’t work for us.
![]() |
There are isolated problems with current patches, but they are well-known and documented on this site. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
Home » Forums » AskWoody support » Productivity software by function » MS Word and word processing help » Headings larger than Heading 9 in Word 2007
Not without getting quite inventive. Can you tell us about the mentioned method that doesn’t work for you?
How many levels do you actually need? Do all these levels exist in a single document? Are all the levels used for ONLY the heading series or are you actually using some levels for bullets or Appendixes etc.?
Your other post today said that you are using Heading 7 for Appendices. Is this the same doc or a completely separate document? If you have merged two series into the one outline level then theres a fairly obvious fix there.
Hi anyaybar,
The following is based on a article by another Word MVP. I can’t find the source at the moment due to connectivity issues I’m having.
You can to create up to 18 levels of numbering, working with the STYLEREF and LISTNUM fields. To do this, set up the built-in Heading styles in the legal number format 1.1., 1.1.1., etc. and use them for levels 1 through 9. Beyond level 9, use the STYLEREF and LISTNUM fields side by side – the first to capture the 9 numeric values at the point of insertion, and the second to number levels 10 to 18.
{ STYLEREF 9 S }.{ LISTNUM LegalDefault L 1 S 1 }
{ STYLEREF 9 S }.{ LISTNUM LegalDefault L 2 }
{ STYLEREF 9 S }.{ LISTNUM LegalDefault L 3 }
{ STYLEREF 9 S }.{ LISTNUM LegalDefault L 4 }
{ STYLEREF 9 S }.{ LISTNUM LegalDefault L 5 }
{ STYLEREF 9 S }.{ LISTNUM LegalDefault L 6 }
{ STYLEREF 9 S }.{ LISTNUM LegalDefault L 7 }
{ STYLEREF 9 S }.{ LISTNUM LegalDefault L 8 }
{ STYLEREF 9 S }.{ LISTNUM LegalDefault L 9 }
. . . gives you . . .
1.2.3.4.5.6.7.8.9.1.
1.2.3.4.5.6.7.8.9.1.1.
1.2.3.4.5.6.7.8.9.1.1.1.
1.2.3.4.5.6.7.8.9.1.1.1.1.
1.2.3.4.5.6.7.8.9.1.1.1.1.1.
1.2.3.4.5.6.7.8.9.1.1.1.1.1.1.
1.2.3.4.5.6.7.8.9.1.1.1.1.1.1.1.
1.2.3.4.5.6.7.8.9.1.1.1.1.1.1.1.1.
1.2.3.4.5.6.7.8.9.1.1.1.1.1.1.1.1.1.
. . . etc.
You have to be careful about adding the start switch S 1 to the first level 10 field that follows a Heading 9 number because it re-starts all levels 10 and above. But that’s only the one immediately after a Heading 9; otherwise you don’t want any S switch at all, just the level switch L as shown above. Other than that, it’s a pretty straightforward method: Heading styles up to level 9, side-by-side fields after that. If someone absolutely insists that there be no period after the last number, you’re out of luck. The period is part of the LISTNUM LegalDefault style and cannot be removed.
Should your format call for a mix of numbering styles other than straight legal numbering, you could handle that too – by setting up a named list template with outline-numbered styles defined by you, then using that name within the LISTNUM field in place of LegalDefault. In that case, you’d never actually use the styles you create; you’d use the LISTNUM field as a substitute for them.
Setting up the 18 levels is the easy part. After that, how could anyone possibly read them?
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Hello, I am needing to use a Heading 10. Can you please explain how to insert or add the {Style Ref… I am familiar with Quick parts and selecting style ref for page numbers and dates in footers, never did that fora heading. And I am using H1 through H5 for regular headings in the body of a document. Then I need to had appendices. All with numbering. H1 = 1 H2 =1.1 etc. Then the Appendix H6 is really just a frame for the text. H2 = A.1. The next section would continue with B.1 and so on. I do need to basically repeat the heading 5 in the appendix. So, will this method take care of that for me. I also need heading 10 to be A.1.2.3.4 when all done.
Hi Paul,
Thanks for your solution. Could you please tell me how to include these new headings in table of contents. The options are showing only to add in TOC till heading 9. After that i am not sure. For your reference I have attached word document with this post.
Thanks & Regards
KPK
Could you please tell me how to include these new headings in table of contents. The options are showing only to add in TOC till heading 9. After that i am not sure.
Basically, you define a Style for each new heading level, then add that Style to your TOC’s Style references. See: http://support.microsoft.com/kb/291280
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
hi DALogan,
The simplest way to create any field is to press Ctrl-F9 to create the field braces (ie ‘{ }’), type the field code between them, then press F9 to update. As for the appenix numbering, see my related reply at: http://www.msofficeforums.com/word/9831-appendix-page-number-level-10-a.html
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
To gather the new headings into the TOC, assign them all to TOC level 9 in the Table of Contents Options Dialog. If you want them to look different from other levels (I wouldn’t), create a TOC style for each new level and apply it appropriately to its TOC entries. You’ll have to apply the styles every time you update the the TOC (that’s why I wouldn’t—the numbers are differentiators enough, don’t you think?).
If you want them to look different from other levels (I wouldn’t), create a TOC style for each new level and apply it appropriately to its TOC entries. You’ll have to apply the styles every time you update the the TOC
I don’t believe that last sentence is correct. Any Style definition you add to a TOC field stays added to it through however many updates of the TOC you care to do.
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.
Notifications