Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 12-10-2016, 10:54 PM
frankximus frankximus 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 2013
Novice
Put light grey shading for level 1 heading in TOC
 
Join Date: Dec 2016
Posts: 2
frankximus is on a distinguished road
Default Put light grey shading for level 1 heading in TOC

Hey guys,

I've experienced a pretty strange issue here.

I'm working towards building a table of content, with slight shading for level 1 headings, however just can't find any solution to this.

I have a document in hand with such shading, and when comparing this document with a clean template, the only difference is in the "modify" section, it shows as "pattern- clear" with a RGB info. But I just can't edit the standard template for it to inlcude such a shading.

Can anyone please help?



Thanks

Last edited by Charles Kenyon; 12-11-2016 at 09:33 PM. Reason: Mark as solved
Reply With Quote
  #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,142
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
  #3  
Old 12-11-2016, 09:45 AM
Charles Kenyon Charles Kenyon 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 2013
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,530
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

You need to modify the style TOC 1 to include the shading. Here is one with a light gray shading applied through the TOC 1 style.
00 deleteme 1.png

This does not require any change to the TOC field. The above is with a field that is the standard field generated by the TOC button.
00 deleteme 2.png

TOC 1 is associated with level 1; TOC 2 is associated with level 2, etc..

Graham's post gives directions for modifying the style. For more, see TOC Tips and Tricks.

Edit: I have marked this as solved. If I am wrong or you need more help, please write back.

Last edited by Charles Kenyon; 12-11-2016 at 09:34 PM.
Reply With Quote
Reply

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 02:17 AM.


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