Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
Neal O Neal O is offline
external usenet poster
 
Posts: 1
Default Word 2007, Modify TOC1 Field, When Update TOC, Reverts to Template

Problem: Client wants to add field information into the TOC1 entry on the
TOC. For example, they want to pull the information from the Heading 1, have
it display as any Word TOC. But, they want to have text appear from a field
(I've played with the styleref field) and have it appear to the left of the
page number like this:

Info from Heading .........................................{info from
styleref field} - page number

I can get it to work by editing the field in the TOC but when I updated the
TOC, the entry reverts back to the template.

I've tried to edit the TOC1 entry and then save it as a template but that
does not work either.

The styleref field is being used in other places in the document but I could
use a different field.

Thank you for your help. This problem makes me want to drink.

Neal
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Jay Freedman Jay Freedman is offline
external usenet poster
 
Posts: 9,854
Default Word 2007, Modify TOC1 Field, When Update TOC, Reverts to Template

The problem you're running into is that the entire TOC is just one
field, and it has its own rules about what it displays when it's
updated. That most emphatically does not include allowing other fields
inside it.

There are only two methods that are going to work, and each has a big
gotcha.

- Wait until the entire document is completed. Update the TOC field
one last time. With the cursor somewhere in the field, press
Ctrl+Shift+F9 to unlink the field -- that is, turn it into plain text.
Now insert your StyleRef fields; they won't disappear any more.
Gotcha: The TOC isn't updatable any more; if the document changes,
you'll have to make manual changes in the TOC or redo the whole thing.

- Insert the StyleRef fields as you've been doing. With the cursor
somewhere in the TOC field (but not in a StyleRef field), press
Ctrl+F11 to lock the field. That will prevent the TOC from updating
unless you unlock it by pressing Ctrl+Shift+F11. Gotcha: If you do let
it update, you'll have to reinsert all the StyleRef fields.

--
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.

On Fri, 23 Oct 2009 18:01:01 -0700, Neal O Neal
wrote:

Problem: Client wants to add field information into the TOC1 entry on the
TOC. For example, they want to pull the information from the Heading 1, have
it display as any Word TOC. But, they want to have text appear from a field
(I've played with the styleref field) and have it appear to the left of the
page number like this:

Info from Heading .........................................{info from
styleref field} - page number

I can get it to work by editing the field in the TOC but when I updated the
TOC, the entry reverts back to the template.

I've tried to edit the TOC1 entry and then save it as a template but that
does not work either.

The styleref field is being used in other places in the document but I could
use a different field.

Thank you for your help. This problem makes me want to drink.

Neal

  #3   Report Post  
Posted to microsoft.public.word.docmanagement
Neal O[_2_] Neal O[_2_] is offline
external usenet poster
 
Posts: 1
Default Word 2007, Modify TOC1 Field, When Update TOC, Reverts to Temp

Thank You Jay --

I appreciate your time.

I apologize for taking so long to respond.

Neal
Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I modify a resume template in word 2007 bleary Page Layout 5 April 26th 20 11:41 AM
how to modify Word 2003 template toolbars without using Word 2007 ribbons? gil Microsoft Word Help 2 August 16th 09 05:50 PM
Word 2007 FILENAME field code - how to update automatically? rgille Microsoft Word Help 1 June 16th 08 04:07 AM
Word 2007 - Modify Style - 'New documents based on this template' Islay Trainer[_2_] Microsoft Word Help 5 September 6th 07 05:15 PM
Word 2007 Font Reverts to Times New Roman In Form Field Judy P. Page Layout 0 June 18th 07 03:21 PM


All times are GMT +1. The time now is 08:22 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"