Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Document Management / March 2007

Tip: Looking for answers? Try searching our database.

Several Tables of Contents (sort of like sub tables?) in one docum

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
nycCTM - 30 Mar 2007 03:28 GMT
I have a document that I expect will end up being around 60-75 pages. It's a
cookbook divided into sections. I want a TOC for each section but can't
figure out how to do it. When I insert a TOC it goes through the entire
document and I want TOCs for each section.

There are real sections with headers, footers, etc. Any help would be
appreciated.
Suzanne S. Barnhill - 30 Mar 2007 04:11 GMT
You can create a TOC for a portion of the document. See "A partial table of
contents" in http://word.mvps.org/FAQs/Formatting/TOCSwitches.htm. Find more
tips for TOCs at http://sbarnhill.mvps.org/WordFAQs/TOCTips.htm.

Signature

Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

> I have a document that I expect will end up being around 60-75 pages. It's a
> cookbook divided into sections. I want a TOC for each section but can't
[quoted text clipped - 3 lines]
> There are real sections with headers, footers, etc. Any help would be
> appreciated.
Jay Freedman - 30 Mar 2007 04:17 GMT
Insert a bookmark around each section. Then use a \b switch in the TOC
for that section, as explained in "A partial table of contents" at
http://www.word.mvps.org/FAQs/Formatting/TOCSwitches.htm.

--
Regards,
Jay Freedman
Microsoft Word MVP        FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the
newsgroup so all may benefit.

>I have a document that I expect will end up being around 60-75 pages. It's a
>cookbook divided into sections. I want a TOC for each section but can't
[quoted text clipped - 3 lines]
>There are real sections with headers, footers, etc. Any help would be
>appreciated.
nycCTM - 31 Mar 2007 05:30 GMT
Thanks to both of you, but I must be doing something wrong. I found other
posts that said to use the \b after defining a bookmark but I can't seem to
get it to work. I get the error:

ERROR! NOT A VALID HEADING LEVEL RANGE.

Here is my code:

{TOC \B APPETIZERS \O "RECIPEHEADING,1"}

I also tried these and they don't work either as it pulls entries from the
entire document

{TOC \h \z \t \b"RecipeHeading,1" }

{TOC \h \z \t \b Appetizers "RecipeHeading,1" }

"Appetizers" is the bookmark and "RecipeHeading" is the name of the style.
Suzanne S. Barnhill - 31 Mar 2007 06:16 GMT
Well, the bookmark name must follow the \b switch and the style name the \t
switch. The \o switch is valid only for numbers of built-in headings. So
what should work is this:

{TOC \h \z \t "RecipeHeading,1" \b Appetizers }

or

{TOC \h \z \b Appetizers \t "RecipeHeading,1" }

For more on TOC switches, see the Help topic "Field codes: TOC (Table of
Contents) field" and/or the article at
http://word.mvps.org/FAQs/Formatting/TOCSwitches.htm.

Signature

Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

> Thanks to both of you, but I must be doing something wrong. I found other
> posts that said to use the \b after defining a bookmark but I can't seem to
[quoted text clipped - 14 lines]
>
> "Appetizers" is the bookmark and "RecipeHeading" is the name of the style.
nycCTM - 31 Mar 2007 17:12 GMT
The first option didn't work but the second did. Thank you so much!

> Well, the bookmark name must follow the \b switch and the style name the \t
> switch. The \o switch is valid only for numbers of built-in headings. So
[quoted text clipped - 29 lines]
> >
> > "Appetizers" is the bookmark and "RecipeHeading" is the name of the style.
Suzanne S. Barnhill - 31 Mar 2007 17:30 GMT
Glad I could help, and interesting that the order of the switches matters,
given that in many fields it doesn't. I certainly consider the latter field
more logical, though.

Signature

Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

> The first option didn't work but the second did. Thank you so much!
>
[quoted text clipped - 31 lines]
> > >
> > > "Appetizers" is the bookmark and "RecipeHeading" is the name of the style.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.