Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 12-17-2019, 06:15 PM
tjmurph9 tjmurph9 is offline Word 2007 how to create a secondary ToC? Windows 7 32bit Word 2007 how to create a secondary ToC? Office 2007
Novice
Word 2007 how to create a secondary ToC?
 
Join Date: Dec 2019
Posts: 3
tjmurph9 is on a distinguished road
Default Word 2007 how to create a secondary ToC?

I am working on a list of educational courses for senior citizens. The format is:



Course name
Course description para
Day <^t> time <^t> starting date

I am using paragraph styles to manage formatting and generating a ToC. So far, so good. Currently, 'Day' has a Character style applied to it as well.

I need to generate a secondary ToC ordered by Day (and then by Course name), roughly in the format:

Course name <^t> start date <^t> time <^t> page #

The day could be included in this list or could be a heading/subheading.

I would greatly appreciate any thoughts on creating this secondary ToC dynamically.
Reply With Quote
  #2  
Old 12-17-2019, 06:55 PM
jeffreybrown jeffreybrown is offline Word 2007 how to create a secondary ToC? Windows 10 Word 2007 how to create a secondary ToC? Office 2016
Expert
 
Join Date: Apr 2016
Posts: 673
jeffreybrown has a spectacular aura aboutjeffreybrown has a spectacular aura about
Default

To create a second TOC you need to create some named ranges.

See this
Reply With Quote
  #3  
Old 12-17-2019, 07:15 PM
tjmurph9 tjmurph9 is offline Word 2007 how to create a secondary ToC? Windows 7 32bit Word 2007 how to create a secondary ToC? Office 2007
Novice
Word 2007 how to create a secondary ToC?
 
Join Date: Dec 2019
Posts: 3
tjmurph9 is on a distinguished road
Default

Thanks for that, but I'm not seeing how that helps me to generate the information I need.

It's not a chapter-based ToC I'm after.

The main ToC works perfectly and exactly suits the intended purpose, but for this particular audience I also want to create another whole-of-document ToC that takes account of the DAY the course is conducted and shows the start date and time as well as the course name and page number. Note that the course name is a separate paragraph and the Day, start date and time are in ANOTHER paragraph
Reply With Quote
  #4  
Old 12-17-2019, 07:42 PM
Guessed's Avatar
Guessed Guessed is offline Word 2007 how to create a secondary ToC? Windows 10 Word 2007 how to create a secondary ToC? Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 3,932
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

I think you will need a macro to build the TOC components and then remodel the result to match your desired content.

Something along the lines of the macro I wrote for a related requirement https://www.msofficeforums.com/word/...paragraph.html

If you can't work out what I'm talking about, post a sample doc so we can see the styles and content you are looking at.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
  #5  
Old 12-17-2019, 08:22 PM
tjmurph9 tjmurph9 is offline Word 2007 how to create a secondary ToC? Windows 7 32bit Word 2007 how to create a secondary ToC? Office 2007
Novice
Word 2007 how to create a secondary ToC?
 
Join Date: Dec 2019
Posts: 3
tjmurph9 is on a distinguished road
Default

Thanks Andrew! I'm no VBA maven, but I think I might be able to figure out how to get what I need based on your example. Much appreciated!
Reply With Quote
  #6  
Old 12-17-2019, 08:25 PM
Charles Kenyon Charles Kenyon is offline Word 2007 how to create a secondary ToC? Windows 10 Word 2007 how to create a secondary ToC? Office 2016
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,081
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

That will require that first you manually mark what you want in your TOC. Shift+Alt+O

You could try creating a TOC based on TC Fields.
References > Table of Contents > Insert Table of Contents
Then click on the Options button and uncheck the box for Styles and for Outline Levels and check the box for TE entries.


OK your way out of the dialog boxes.

TOC Tips and Tricks by Suzanne Barnhill, MVP
See especially TC Fields
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mail Merge - Word primary, Excel secondary - track changes marking voyagerone Mail Merge 9 06-30-2017 08:55 PM
Word 2007 how to create a secondary ToC? create in word 2007 command to paste without formatting gippo Word 2 05-01-2015 04:59 PM
How to identify whether Word 2007 was used to create a document saved as Word 2003 noviceatwork Word 0 03-08-2012 06:40 AM
How can create a form in Word 2007 that can be automatically filled? artistech Word 0 08-04-2010 01:05 PM
Create Expandable Topic/List in Word 2007 MJS Word 0 02-10-2010 03:13 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:51 AM.


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