Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 12-11-2016, 02:53 AM
gmayor's Avatar
gmayor gmayor is offline Put light grey shading for level 1 heading in TOC Windows 10 Put light grey shading for level 1 heading in TOC Office 2016
Expert
 
Join Date: Aug 2014
Posts: 4,144
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

Tables of contents that have more than one level are formatted with TOC n styles (where 'n') is the level. Thus if you create a table of contents that includes only Level 1 and Level 2 then Level 1 will be style TOC 1.

{ TOC \f \h \z \t "Heading 1,1,Heading 2,2" }

If you include a Title style

{ TOC \f \h \z \t "Title,1,Heading 1,2,Heading 2,3" }

Then Heading 1 will be level 2 and the style TOC 2


You can modify the Style in question > Format > Border > Shading to include the shading you require.

__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote
 

Tags
table of content



Similar Threads
Thread Thread Starter Forum Replies Last Post
Breaking one level of a heading section Asf Word 0 11-29-2015 07:44 PM
Put light grey shading for level 1 heading in TOC Level 2 heading - number not updating in sync with level 1 heading katm3 Word 2 10-25-2015 06:02 PM
Put light grey shading for level 1 heading in TOC Can I unter the last heading in a footer, regardless of what level the header is? Huffle Word 2 09-28-2014 03:48 PM
Put light grey shading for level 1 heading in TOC Using heading style level in a paragraph kam Word 7 03-24-2014 02:58 PM
Put light grey shading for level 1 heading in TOC Heading level numbering in 2010 - wrong after second header level 1 taran Word 3 07-08-2013 01:12 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 10:04 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