Share via

Problem assigning levels to Appendix headings.

Anonymous
2011-10-27T23:01:27+00:00

I have my appendix headings set to heading 6, 7, 8 , and 9.  I am trying to create a table of contents that includes the appendix headings. In the Index and Tables window, I have increased the Show levels to 9.  Clicking the Options button, I change the TOC levels for the appendix headings to:

Heading 6 -> TOC level 1

Heading 7 -> TOC level 2

Heading 8 -> TOC level 3

Heading 9 -> TOC level 4

However, for some reason when the TOC is created, only headings 1-5 show up. The appendix ones don't show up.  When I don't configure the Options button, and just show all 9 levels, the appendix headings appear but are incorrectly indented.  How do I fix this?

Thanks!

Microsoft 365 and Office | Word | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2011-10-28T03:45:50+00:00

{TOC \o \h \z \u}  won't work because  no TOC style level is specified for headings 6 to 9.

{TOC \o "1-5" \h \z \u \t "Heading 6,1,Heading 7,2,Heading 8,3,Heading 9,4"} should work.  It tells the TOC feature to collect all paragraph styles with outline levels 1 to 5 (usually just Headings 1 to 5) and to collect Headings 6 to 9, but show them in TOC styles 1 to 4.

 If the appendix headings do not show up, you must check teh document, particularly headings6 to9 and make sure they are actually  in the heading 6 to 9 paragraph styles.  Use the Styles pane to select all instances of each style and then reapply it. 

Pam

Was this answer helpful?

0 comments No comments

4 additional answers

Sort by: Most helpful
  1. Anonymous
    2011-10-28T00:23:22+00:00

    Ahh, sorry guys.. I actually had {TOC \o "1-5" \h \z \u \t "Heading 6,1,Heading 7,2,Heading 8,3,Heading 9,4"} when I tried out the procedures I described above.  

    Then I edited it without the TOC levels to get: {TOC \o \h \z \u}

    Any ideas on this one?

    I am a little confused on your last questions.. Let me try to explain as best as possible.  I used headings 1-5 for normal headings and heading 6-9 for appendixes headings as described here http://office.microsoft.com/en-us/word-help/add-an-appendix-to-your-document-HA001158742.aspx.The formatting for headings 1-5 and headings 6-9 should match. I might have manually edited the formatting because I noticed it kept changing..

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2011-10-28T00:07:46+00:00

    I just recreated it and it worked fine. I used following steps:

    1. References tab | Table of Contents drop down | Insert TOC.  Change Show Levels to 9
    2. Click on Options ... butoon
    3. In the list of available styles, reset 6-9 to TOC Level 1-4
    4. OK, OK (yes to replace existing TOC if prompted)

    The field looks like this:

    { TOC \o "1-5" \h \z \u \t "Heading 6,1,Heading 7,2,Heading 8,3,Heading 9,4" }

    Did you do something different?

    Why do you need to use separate heading styles. When I've done this sort of thing I've simply used levels 1-4 again in the Appendicies?  Different formatting?

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2011-10-28T00:04:01+00:00

    Hi,

    I see {TOC \o \h \z \u}

    Thanks!

    Was this answer helpful?

    0 comments No comments
  4. Suzanne S Barnhill 278.1K Reputation points MVP Volunteer Moderator
    2011-10-27T23:21:09+00:00

    In your document, view the TOC and press Alt+F9. You will see a TOC field. Please tell us exactly what that field contains, as we will be able to tell from the syntax what the problem is.

    Was this answer helpful?

    0 comments No comments