Re: Several Tables of Contents (sort of like sub tables?) in one d

Tech-Archive recommends: Speed Up your PC by fixing your registry



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.

--
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.

"nycCTM" <nycCTM@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:A418CD72-2D92-4F8F-92AB-2151A8EAF559@xxxxxxxxxxxxxxxx
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.

.



Relevant Pages

  • Re: index, page range
    ... range and refer to the bookmark in the index entry. ... need this switch). ... Word MVP FAQ site: http://word.mvps.org ...
    (microsoft.public.word.pagelayout)
  • Re: Totals...
    ... since you can use SEQ fields with the \c switch and a ... have no restarts *within* a particular caption type (using either the ... see how the bookmark trick could work if you had. ...
    (microsoft.public.word.numbering)
  • Re: No More Netscape?
    ... to switch to. ... but I still use NS as a shell over AOL to ... If Explorer's bookmark import function has changed ... import a bookmark file from Firefox to IE favorites. ...
    (rec.arts.tv)
  • Re: No More Netscape?
    ... to switch to. ... but I still use NS as a shell over AOL to ... If Explorer's bookmark import function has changed ... import a bookmark file from Firefox to IE favorites. ...
    (rec.arts.tv)
  • Re: Multiple Table of Contents Within One MS Word Document
    ... I did the switches and created the bookmark, ... table that goes from pages 1-300 and a secondary toc that encompasses pages ... For this you use the \b switch. ... please post all follow-ups to the newsgroup so all may benefit. ...
    (microsoft.public.word.docmanagement)