Note, however, that you can accomplish both of these things in different
ways. You can (a) use the same heading levels for the appendixes as the rest
of the document and still exclude them from the TOC, or you can use
different heading levels and omit numbering in the same TOC (but you can't
do both).
To create a TOC that excludes the appendixes, select the portion of the
document you want included in the TOC and bookmark it. Then use a \b switch
to create a TOC for just the bookmarked portion.
To omit page numbering for a specific heading level, use the \n switch.
Both these switches are further explained in
http://word.mvps.org/FAQs/Formatting/TOCSwitches.htm
Susan W. Gallagher said:
Terry,
If you are using the same heading style in the appendixes as you use in the main part of the document,
the TOC will treat those headings the same way no matter how many hoops you jump thru. To treat
appendix headings differently, you need to use different heading styles. Also, the switch for "show
page numbers" is an on/off thing -- you don't have the granularity to show page numbers on one
heading but not another.
Try this as a workaround:
Determine how many heading levels you use in the main part of your
document. If it's, for example, 1 through 4,
modify the style for heading 5 so that it looks just like heading 1. Use
this style for your appendixes.
When you generate your TOC, you need to do it twice -- once for the main
body of the doc and once for the
appendixes. For the main TOC, click the Options button and check the
headings that appear in the body of
the document (1 - 4), make sure the "Show Page Numbers" checkbox is checked, and generate the TOC.
Move past the first TOC to where the rest of it should go, and generate
another TOC. This time, click options
and only check the heading numbers that appear in the appendixes (5...), clear the "show page numbers"
checkbox, and generate the TOC. Make sure you say NO to replacing the TOC that's already there.
This is probably the easiest way to achieve the look that you want.
HTH!
-Susan W. Gallagher
----- Terry wrote: -----
I think I have read all the entries experimented with the solutions,
yet I haven't been able to stop page numbering in my Table of Contents for
the Appendices. I have five appendices and I want the page numbering to end
just before them. I've placed section breaks between the two groups...I've
deleted "same as previous" so the format discontinues between the
groups...I've added a section break within the TOC...and a few other
efforts. I am able to stop sequential page numbering but each Appendix
continues to have a dotted line and page number "1". I can't get that to go
away.
Now, I also tried taking the Appendices out of the TOC function to
create a group just below the TOC using the same font style so the end
effect is that it is a part of the TOC. But a lot of wierd things happen as
though Word wants to keep anything with that font style WITHIN the TOC
function. I'm going round and round. I hope this makes sense to someone.