Rendering of Field Codes in Word 2003

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Ok, this one is a bit involved but bear with me, this is an issue we have
found whilst developing using word:

Imagine you have a standard word document with various styles contained
within. One of these styles is centre aligned and bold.
You type in a title in this bold, centred text and want to cross-reference
it. Using all versions of Word this involves establishing a bookmark of the
bold, centred text, and inserting a cross-reference using this bookmark
somewhere else in the document.

The problem we have found in Word 2003 is that this cross refernce renders
in the style of the text that has been bookmarked, ie the cross-reference
becomes bold and centre aligned.

This does not happen in Word 200, and we were wondering if anyone else has
had this problem, and if so what the solution to it is, ie how to we get the
cross-reference to render without taking on the formatting of the text it
references. Like I say this does not happen in Word 2000.

All help much appreciated,
Regards,
Adam
 
Open the field and add a Charformat switch ie
{REF Bookmarkname \*charformat}
Then update the field

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
Hi,
That seemed to work after putting the REF filed code in, however, when i try
to enter this switch code in the field code dialog box at the same time as
establishing the filed code I get the error after completion of "error in
switchcode" or something like that. I get this error for all switch codes
and when I look at the filed code after generation the switchcode seems to
have been moved from after the crossreference text, to within it.

Any further help would be greatly appreciated.

Adam
 
Don't even try to insert the switch through the Insert > Field dialog. It
really doesn't know how to deal with the less common switches properly.
Insert the field without the switch; then right-click the field, select
Toggle Field Codes, and type the switch in its proper place. Then
right-click and select Update Field, or just press F9.
 
Back
Top