View Single Post
  #3   Report Post  
Posted to microsoft.public.word.docmanagement
Jezebel
 
Posts: n/a
Default Cross reference not updating

It's an inherent problem with the way Word handles cross-references. When
you create the cross-reference, Word bookmarks the destination (in this
case, your 'Communication' heading). You can see the bookmark if you use
Insert Bookmarks and check the 'Hidden bookmarks' checkbox. It will be an
underscore and a random number. If you press Alt-F9 to display field codes,
you'll see the name used within the cross-reference field.

The bookmark refers to a range of document defined by a start and end point.
The end-point doesn't include the paragraph mark at the end of the heading,
because you don't want a pragraph break as part of the reference. If you
make changes *within* that range, they are picked up correctly in the
reference. But if you add text to the end of the heading, it falls outside.
Word has no way to know that the bookmark should be extended (in some cases
you wouldn't want that).

For simple purposes, the quickest workaround is to type within the existing
heading, then delete any spurious characters -- eg, insert 'n Styles' before
the final 'n', then delete the 'n'.

A more dramatic consequence of this issue is if you press Enter at the start
of the heading (to insert a new heading and text) - add the heading and
several pages of content: now your cross-reference includes everything from
the start of the first heading to the end of the second.




"Sally Poyzer" wrote in message
...
Hi

I'm having a little trouble with cross references. I have put a 'heading
text' cross reference to a heading (set up with the Heading 1 style) in my
document. However, if I change the heading (for example, from
'Communication' to 'Communication Styles'), the cross reference does not
update (even with selecting F9). The only time it will update is if I
change
the spelling within the word (eg. from 'Communication' to
'Communicat**n')...not that I'd ever actually want to do this!

Is this because Cross References are limited or am I doing something
wrong??

Thanks for your help

Sally