Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-20-2018, 02:16 PM
slaycock slaycock is offline Stubborn TOC problem, one heading allows dot leader everywhere except one place. Windows 7 64bit Stubborn TOC problem, one heading allows dot leader everywhere except one place. Office 2016
Expert
 
Join Date: Sep 2013
Posts: 255
slaycock is on a distinguished road
Default

It is well worth exploring the switches for the TOC field, particularly the \b and \t switches.

The \b switch restricts the headings included in the toc to the defined bookmark.

The \t switch allows a comma separated list of styles names and outline level.

I have documents with many toc in them which are managed quite well with appropriate use of the \t and \b switches. I've included a selection below.

Overall table of contents

{toc \b TOC_ALL \t "Heading 1,1,Heading 2,2,S Heading 1,1,P Heading 1,1,A Heading 1,1,A Heading 2,2,R Heading 1,1, R Heading 2,2,TOC Heading,2,TOF Heading,2,2, Title,1, ,TOC Heading, 1, TOF Heading,1" \h }

Module 1 TOC

{toc \b TOC_API1 \z \t "S Heading 1,1,S Heading 2,2,S Heading 3,3, S Heading 4,4, TOC Heading,1,TOF Heading,1, Title,1" \h }

TOC of a section within Module 1

{toc \b TOC_32s22 \z \t "S Heading 4,1,S Heading 5,2,S Heading 6,3, S Heading 7,4, TOC Heading,1,TOF Heading,1, Title,1" \h }

The link for the switches for the TOC field is below



https://support.office.com/en-ie/art...rs=en-IE&ad=IE
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
MS word 2007, capital letter after number (1. place turn to 1. Place) enzo321 Word 1 10-23-2016 06:19 AM
Stubborn TOC problem, one heading allows dot leader everywhere except one place. editing a number/text at one place and changes taking place wherever it appears anurag.butoliya Word 1 06-14-2014 06:27 PM
Problem with leader tabs ORoff Word 5 12-19-2013 03:51 AM
Stubborn TOC problem, one heading allows dot leader everywhere except one place. Stubborn portrait problem Ulodesk Outlook 1 04-08-2013 07:03 AM
Stubborn TOC problem, one heading allows dot leader everywhere except one place. Determined & Stubborn djclinton Outlook 2 07-21-2011 10:59 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:09 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft