Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-16-2012, 06:27 AM
Chris N Chris N is offline Using Table Of Contents Windows 7 32bit Using Table Of Contents Office 2010 32bit
Novice
Using Table Of Contents
 
Join Date: Mar 2012
Posts: 3
Chris N is on a distinguished road
Default Using Table Of Contents


I wish to make a table of contents so that each header in different sections will appear. In section 1 at the beginning I have gone to Insert/references/automatic table of Contents version 2. Then in section 2 I have ckicked on the header and applied style header 1. In section 3 I have clicked on the header and applied header style 1. However they do not appear in my TOC in section 1. What am I doing wrong?

Kind Regards

Chris
Reply With Quote
  #2  
Old 03-17-2012, 12:31 AM
macropod's Avatar
macropod macropod is offline Using Table Of Contents Windows 7 64bit Using Table Of Contents Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
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

Hi Chris,

Have you updated the TOC (eg do a print preview or Ctrl-A, F9)?
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 03-17-2012, 05:46 AM
Chris N Chris N is offline Using Table Of Contents Windows 7 32bit Using Table Of Contents Office 2010 32bit
Novice
Using Table Of Contents
 
Join Date: Mar 2012
Posts: 3
Chris N is on a distinguished road
Default

Thanks for your reply. Yes I have updated the TOC and nothing happens. I think there must be something else I need to do. The TOC is in section 1. The first header is in section 2 and the second header is in section 3. It seems the TOC cant see the headers in the other sections. I have applied style header 1 to these headers.

Kind Regards

Chris
Reply With Quote
  #4  
Old 03-17-2012, 02:05 PM
macropod's Avatar
macropod macropod is offline Using Table Of Contents Windows 7 64bit Using Table Of Contents Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
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

Hi Chris,

Unless you specifically tell a TOC not to, it defaults to gathering data from all Sections.

What happens if, in Section 1, you press Ctrl-F9 to create a pair of field braces (ie '{}'), type 'TOC' between them, then press F9?
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #5  
Old 03-19-2012, 08:46 AM
Chris N Chris N is offline Using Table Of Contents Windows 7 32bit Using Table Of Contents Office 2010 32bit
Novice
Using Table Of Contents
 
Join Date: Mar 2012
Posts: 3
Chris N is on a distinguished road
Default

Thanks for your reply. I have found the reason the TOC does not work. It seems that the TOC cannot see anything in the headers by default. So as a solution I will copy the information in the headers as a separate heading.

There also might be a work around someone showed me although I have not tried it yet:

http://wordfaqs.mvps.org/StyleRef.htm

I also got an error message when trying to use a hyperlink in the TOC:

This operation has been cancelled due to restrictions in effect on this computer. Please contact your system administrator.

I found the solution here:
http://support.microsoft.com/kb/310049

Kind Regards

Chris
Reply With Quote
  #6  
Old 03-19-2012, 01:16 PM
macropod's Avatar
macropod macropod is offline Using Table Of Contents Windows 7 64bit Using Table Of Contents Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
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

Yes, TOCs only pick up headings etc in the body of the document. The STYLEREF field can be used to pick up the content of a given Style in the body of the document and replicate it in the header or footer.

As for using hyperlinks in the TOC, TOCs are hyperlinked by default, even though they don't look like hyperlinks, and there should be no need to try to add them manually. In any event, even if you do add them manually, they'll be deleted next time the TOC is updated.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #7  
Old 03-20-2012, 06:35 AM
Charles Kenyon Charles Kenyon is offline Using Table Of Contents Windows Vista Using Table Of Contents Office 2010 32bit
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

Quote:
Originally Posted by Chris N View Post
I wish to make a table of contents so that each header in different sections will appear. In section 1 at the beginning I have gone to Insert/references/automatic table of Contents version 2. Then in section 2 I have ckicked on the header and applied style header 1. In section 3 I have clicked on the header and applied header style 1. However they do not appear in my TOC in section 1. What am I doing wrong?

Kind Regards

Chris
To clarify what macropod has said, there is a difference between a page header and a heading. A header is text intended to appear at the top of multiple pages - usually. It is not on any page by definition so it can't appear in a table of contents

A heading is text that is in the document, usually formatted using a heading style.

Confusing, yes.
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Table of contents Koolfala Word 1 03-01-2012 01:08 AM
Using Table Of Contents Table of contents: Hyperlinking tays01s Word 11 07-21-2011 12:34 PM
Table of contents markos97 Word 0 10-26-2010 08:52 AM
Custom Table of Contents NJPhillips Word 1 06-11-2010 12:39 PM
Table of contents automation through VB 6.0 Developer Word 0 06-09-2009 06:30 AM

Other Forums: Access Forums

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