Solved

Table of Contents - Exclude Sections or Pages

Posted on 2008-06-26
2
5,585 Views
Last Modified: 2010-04-21
I dropped a table of contents onto page 2 of a Word document.  I'd prefer that the TOC didn't reference the document's title page or the TOC page.  How do I exclude these pages from the TOC?  The title page and TOC are also in separate document sections.  Excluding sections, rather than pages, would work as well.
0
Comment
Question by:jdana
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 21

Accepted Solution

by:
EricFletcher earned 250 total points
ID: 21877518
Select the part of the document you want included and bookmark it. Then edit your TOC field to include the \b switch and the name you gave to the bookmark. For example, if you assigned the name "forToC" to the content after the TOC page and before the Index in a multisection document, your TOC field could look like {TOC \b forToC \o "1-3"} to have it collect only the outline levels 1-3 within the bookmarked part of the document.

To edit the field code, press Alt-F9 to toggle the field code view.
0
 

Author Closing Comment

by:jdana
ID: 31470939
Nice.  That would have taken me a while to figure out on my own.
0

Featured Post

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Preface: When I started this series, I used the term CommandBars because that is the Office Object class that it discusses. Unfortunately, when Microsoft introduced Office 2007, they replaced the standard Commandbar menus with "The Ribbon" and rem…
This article describes a method of delivering Word templates for use in merging Access data to Word documents, that requires no computer knowledge on the part of the recipient -- the templates are saved in table fields, and are extracted and install…
This Micro Tutorial well show you how to find and replace special characters in Microsoft Word. This is similar to carriage returns to convert columns of values from Microsoft Excel into comma separated lists.
In a previous video Micro Tutorial here at Experts Exchange (http://www.experts-exchange.com/videos/1358/How-to-get-a-free-trial-of-Office-365-with-the-Office-2016-desktop-applications.html), I explained how to get a free, one-month trial of Office …

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question