Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 11-24-2025, 04:30 AM
Rude Awakening Rude Awakening is offline How do I create this type of Table of Contents Windows 8 How do I create this type of Table of Contents Office 2007
Novice
How do I create this type of Table of Contents
 
Join Date: Oct 2013
Posts: 5
Rude Awakening is on a distinguished road
Default How do I create this type of Table of Contents

Hi All,


Does anyone know how I create this type of ToC?

It doesn't seem to be the generic type available.

There is a heading page available before each chapter(which I assume the pages rely on to build the Toc)

Would each ToC section then be an individual ToC?

Attached Images
File Type: jpg tOC.jpg (40.7 KB, 13 views)
Reply With Quote
  #2  
Old 11-24-2025, 05:01 AM
Italophile Italophile is offline How do I create this type of Table of Contents Windows 11 How do I create this type of Table of Contents Office 2021
Expert
 
Join Date: Mar 2022
Posts: 563
Italophile is just really niceItalophile is just really niceItalophile is just really niceItalophile is just really nice
Default

If you want your table of contents to look like that you'll either need to create it manually, or script it using VBA. Word's TOC has only very limited options and a different colour per section is not one of them.
Reply With Quote
  #3  
Old 11-24-2025, 05:02 AM
Rude Awakening Rude Awakening is offline How do I create this type of Table of Contents Windows 8 How do I create this type of Table of Contents Office 2007
Novice
How do I create this type of Table of Contents
 
Join Date: Oct 2013
Posts: 5
Rude Awakening is on a distinguished road
Default

Quote:
Originally Posted by Italophile View Post
If you want your table of contents to look like that you'll either need to create it manually, or script it using VBA. Word's TOC has only very limited options and a different colour per section is not one of them.
Do we know the VBA method?
Reply With Quote
  #4  
Old 11-24-2025, 07:01 AM
Italophile Italophile is offline How do I create this type of Table of Contents Windows 11 How do I create this type of Table of Contents Office 2021
Expert
 
Join Date: Mar 2022
Posts: 563
Italophile is just really niceItalophile is just really niceItalophile is just really niceItalophile is just really nice
Default

Quote:
Originally Posted by Rude Awakening View Post
Do we know the VBA method?
There isn't a standard "VBA method". You'll need to write the code yourself to meet your own specific requirements. Using VBA you will still end up with a manual table of contents that does not update automatically.
Reply With Quote
  #5  
Old 11-24-2025, 10:24 AM
Charles Kenyon Charles Kenyon is offline How do I create this type of Table of Contents Windows 11 How do I create this type of Table of Contents Office 2021
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,584
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

It will not be an automatic TOC.
However, you could fairly easily set up the chapter divisions using the \b switch.
Work it as Automatic as you write and refine.
Then add the color as a final touch. That could be done manually, or using vba.
See TOC Tips and Tricks by Suzanne Barnhill, MVP.
Reply With Quote
  #6  
Old 11-24-2025, 04:28 PM
macropod's Avatar
macropod macropod is online now How do I create this type of Table of Contents Windows 10 How do I create this type of Table of Contents Office 2016
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,521
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Quote:
Originally Posted by Rude Awakening View Post
Do we know the VBA method?
You could adapt the code in post #6 at: https://www.msofficeforums.com/word-...-headings.html. As you'll see from the code there - which is just to produce hyperlinks - this isn't a trivial exercise.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #7  
Old 11-25-2025, 03:03 PM
Guessed's Avatar
Guessed Guessed is online now How do I create this type of Table of Contents Windows 10 How do I create this type of Table of Contents Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 4,185
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

You can do it with lots of separate TOCs in pairs pointing at the bookmarked ranges. The graphic shows the field codes and the result. You can see that I've put the level 2 TOC inside a table to give you the top border and side colour bar.
Attached Images
File Type: png Screenshot 2025-11-26 085813.png (86.7 KB, 6 views)
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I create this type of Table of Contents Create Floating Table of Contents in Word Mac 2008? cheech1981 Word 2 01-28-2017 09:32 AM
How do I create a dynamic table of contents dschrader PowerPoint 0 10-12-2015 12:38 PM
Table of contents, the correct way to create blockie Word 2 08-15-2014 06:36 PM
Need to Create 2 Unrelated Table of Contents in Document CoolChick Word 1 07-02-2014 05:08 PM
How do I create this type of Table of Contents Need to create a "custom" table of contents type thing tsmsohmcog Word 2 04-11-2013 08:46 AM

Other Forums: Access Forums

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