A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Word » Page Layout
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Linking Table of Contents to show text from a header



 
 
Thread Tools Display Modes
  #1  
Old May 20th, 2008, 03:54 PM posted to microsoft.public.word.pagelayout
Stacks324
external usenet poster
 
Posts: 3
Default Linking Table of Contents to show text from a header

I am currently putting togather the annual reports for a client and am
linking the section titles to my table of contents using alt+shift+o. I am
having difficulty when the client has the title of the section in the header
rather than as a heading as the method I mentiond before doesn't work. I
can't add a heading in as the report has to match the client exactly, does
anyone know how to get around this?
  #2  
Old May 20th, 2008, 04:35 PM posted to microsoft.public.word.pagelayout
Jay Freedman
external usenet poster
 
Posts: 9,488
Default Linking Table of Contents to show text from a header

Stacks324 wrote:
I am currently putting togather the annual reports for a client and am
linking the section titles to my table of contents using alt+shift+o.
I am having difficulty when the client has the title of the section
in the header rather than as a heading as the method I mentiond
before doesn't work. I can't add a heading in as the report has to
match the client exactly, does anyone know how to get around this?


The TOC generator can't "see" the header, footer, text box, and other
stories other than the main text. (The article
http://word.mvps.org/faqs/customizat...ceAnywhere.htm explains about
stories in Word documents.)

Instead, you can place a hidden, nonprinting field in the main text at the
proper location and tell the TOC to include it.

At each point where you would normally mark a section title heading (but
there isn't one now), click Insert Field and choose to insert a TC field.
Enter the text you want to appear in the table of contents. Check the box
for "outline level" and tell it what level to use.

TC fields are automatically marked as Hidden text. Unlike most fields whose
codes are displayed by Shift+F9 or Alt+F9, these fields appear only when you
display Hidden text (for example, by clicking the ¶ button).

In the Table of Contents dialog, click the Options button and check the box
for the Table Entry Fields option. You should leave the Styles option
checked as well, so the TOC will include both kinds of entries. Then update
the TOC.

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.


  #3  
Old May 20th, 2008, 08:24 PM posted to microsoft.public.word.pagelayout
Suzanne S. Barnhill
external usenet poster
 
Posts: 31,786
Default Linking Table of Contents to show text from a header

If Stacks324 is creating the TOC using Alt+Shift+O, then he/she is already
using TC fields.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

"Jay Freedman" wrote in message
...
Stacks324 wrote:
I am currently putting togather the annual reports for a client and am
linking the section titles to my table of contents using alt+shift+o.
I am having difficulty when the client has the title of the section
in the header rather than as a heading as the method I mentiond
before doesn't work. I can't add a heading in as the report has to
match the client exactly, does anyone know how to get around this?


The TOC generator can't "see" the header, footer, text box, and other
stories other than the main text. (The article
http://word.mvps.org/faqs/customizat...ceAnywhere.htm explains about
stories in Word documents.)

Instead, you can place a hidden, nonprinting field in the main text at the
proper location and tell the TOC to include it.

At each point where you would normally mark a section title heading (but
there isn't one now), click Insert Field and choose to insert a TC
field. Enter the text you want to appear in the table of contents. Check
the box for "outline level" and tell it what level to use.

TC fields are automatically marked as Hidden text. Unlike most fields
whose codes are displayed by Shift+F9 or Alt+F9, these fields appear only
when you display Hidden text (for example, by clicking the ¶ button).

In the Table of Contents dialog, click the Options button and check the
box for the Table Entry Fields option. You should leave the Styles option
checked as well, so the TOC will include both kinds of entries. Then
update the TOC.

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup
so all may benefit.



  #4  
Old May 20th, 2008, 09:09 PM posted to microsoft.public.word.pagelayout
Jay Freedman
external usenet poster
 
Posts: 9,488
Default Linking Table of Contents to show text from a header

Yes, I realized that -- of course, after I hit Send.

Still, the TC fields must be in the main text, not in the header pane or any
other story. Since the text to be displayed in the TOC isn't present in the
main text, the choice is either to construct the TC field in the header and
then cut/paste it to the main text (displaying Hidden text in order to be
able to see it), or to construct the field directly in the main text.

Suzanne S. Barnhill wrote:
If Stacks324 is creating the TOC using Alt+Shift+O, then he/she is
already using TC fields.


"Jay Freedman" wrote in message
...
Stacks324 wrote:
I am currently putting togather the annual reports for a client and
am linking the section titles to my table of contents using
alt+shift+o. I am having difficulty when the client has the title
of the section in the header rather than as a heading as the method
I mentiond before doesn't work. I can't add a heading in as the
report has to match the client exactly, does anyone know how to get
around this?


The TOC generator can't "see" the header, footer, text box, and other
stories other than the main text. (The article
http://word.mvps.org/faqs/customizat...ceAnywhere.htm explains
about stories in Word documents.)

Instead, you can place a hidden, nonprinting field in the main text
at the proper location and tell the TOC to include it.

At each point where you would normally mark a section title heading
(but there isn't one now), click Insert Field and choose to insert
a TC field. Enter the text you want to appear in the table of
contents. Check the box for "outline level" and tell it what level
to use. TC fields are automatically marked as Hidden text. Unlike most
fields
whose codes are displayed by Shift+F9 or Alt+F9, these fields appear
only when you display Hidden text (for example, by clicking the ¶
button). In the Table of Contents dialog, click the Options button and
check
the box for the Table Entry Fields option. You should leave the
Styles option checked as well, so the TOC will include both kinds of
entries. Then update the TOC.

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the
newsgroup so all may benefit.



  #5  
Old May 20th, 2008, 09:47 PM posted to microsoft.public.word.pagelayout
Suzanne S. Barnhill
external usenet poster
 
Posts: 31,786
Default Linking Table of Contents to show text from a header

Right. I wasn't faulting your advice, just pointing out that the instruction
on what a TC field is and how to insert one was probably unneeded!

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

"Jay Freedman" wrote in message
...
Yes, I realized that -- of course, after I hit Send.

Still, the TC fields must be in the main text, not in the header pane or
any other story. Since the text to be displayed in the TOC isn't present
in the main text, the choice is either to construct the TC field in the
header and then cut/paste it to the main text (displaying Hidden text in
order to be able to see it), or to construct the field directly in the
main text.

Suzanne S. Barnhill wrote:
If Stacks324 is creating the TOC using Alt+Shift+O, then he/she is
already using TC fields.


"Jay Freedman" wrote in message
...
Stacks324 wrote:
I am currently putting togather the annual reports for a client and
am linking the section titles to my table of contents using
alt+shift+o. I am having difficulty when the client has the title
of the section in the header rather than as a heading as the method
I mentiond before doesn't work. I can't add a heading in as the
report has to match the client exactly, does anyone know how to get
around this?

The TOC generator can't "see" the header, footer, text box, and other
stories other than the main text. (The article
http://word.mvps.org/faqs/customizat...ceAnywhere.htm explains
about stories in Word documents.)

Instead, you can place a hidden, nonprinting field in the main text
at the proper location and tell the TOC to include it.

At each point where you would normally mark a section title heading
(but there isn't one now), click Insert Field and choose to insert
a TC field. Enter the text you want to appear in the table of
contents. Check the box for "outline level" and tell it what level
to use. TC fields are automatically marked as Hidden text. Unlike most
fields
whose codes are displayed by Shift+F9 or Alt+F9, these fields appear
only when you display Hidden text (for example, by clicking the ¶
button). In the Table of Contents dialog, click the Options button and
check
the box for the Table Entry Fields option. You should leave the
Styles option checked as well, so the TOC will include both kinds of
entries. Then update the TOC.

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the
newsgroup so all may benefit.





  #6  
Old November 18th, 2009, 03:37 AM posted to microsoft.public.word.pagelayout
designermom
external usenet poster
 
Posts: 2
Default Linking Table of Contents to show text from a header

When I insert fieldTC and hit OK, i don't get any box to check to tell it
what level to place the text in the TOC...What am I doing wrong...This is Mac
2008

"Jay Freedman" wrote:

Stacks324 wrote:
I am currently putting togather the annual reports for a client and am
linking the section titles to my table of contents using alt+shift+o.
I am having difficulty when the client has the title of the section
in the header rather than as a heading as the method I mentiond
before doesn't work. I can't add a heading in as the report has to
match the client exactly, does anyone know how to get around this?


The TOC generator can't "see" the header, footer, text box, and other
stories other than the main text. (The article
http://word.mvps.org/faqs/customizat...ceAnywhere.htm explains about
stories in Word documents.)

Instead, you can place a hidden, nonprinting field in the main text at the
proper location and tell the TOC to include it.

At each point where you would normally mark a section title heading (but
there isn't one now), click Insert Field and choose to insert a TC field.
Enter the text you want to appear in the table of contents. Check the box
for "outline level" and tell it what level to use.

TC fields are automatically marked as Hidden text. Unlike most fields whose
codes are displayed by Shift+F9 or Alt+F9, these fields appear only when you
display Hidden text (for example, by clicking the ¶ button).

In the Table of Contents dialog, click the Options button and check the box
for the Table Entry Fields option. You should leave the Styles option
checked as well, so the TOC will include both kinds of entries. Then update
the TOC.

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 07:01 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.