references showing up like: PAGEREF More_Info \h}

W

Wolfgang

I have been using a document with embedded references, such as

(See page 97 for more information.)

Suddenly, those and other referenced show up as

(See {PAGEREF More_Info \h} for more information.)

Does anybody out there have an idea on what's going on and how I can
fix the problem.

Thanks,

Wolfgang,
Santab
 
J

Jay Freedman

Hi, Wolfgang,

Those are the field codes. You can press Alt+F9 to toggle between field
codes and field results. Alternatively, go to Tools > Options > View and
check or uncheck the box for "Field codes".

You can toggle any one field at a time by selecting it and pressing
Shift+F9, or right-clicking it and selecting "Toggle Field Code". The Alt+F9
shortcut affects all fields at once.
 
W

Wolfgang

Thanks, Jay'. Your suggestion works fine for page references, but
some other references still remain cryptic, for example

{XE "toString()"}{XE "String:toString()"}

Even after switching the entire document with Tools > Options > View
and unchecking box for "Field codes", threre remain some cryptic
references like the one above.

What can I do about those?

Wolfgang
 
S

Suzanne S. Barnhill

Although those are field codes (they're index entry fields), they don't
respond to Alt+F9. But they are formatted as Hidden text, so toggling the
display of nonprinting characters (Ctrl+*) should disappear them.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://www.mvps.org/word
 
J

Jay Freedman

Hi, Wolfgang,

The XE fields are different -- they're formatted with the Hidden font
attribute, so you switch them off by clicking the ¶ button on the toolbar.
(Before you turn them off, look carefully and you should be able to see the
dotted underline that indicates Hidden text.)
 
W

Wolfgang

I do see the faint dotted underline.
Both Ctrl+* (Susan) and clicking the ¶ button (Jay) only switch the
hidden font attributes ON, so now I see ¶ signs after every
paragraph, and dots (.) for every space in addition to the funny
{XE "toString()"}{XE "String:toString()"}

Wolfgang
 
S

Suzanne S. Barnhill

In that case, "Hidden text" is checked on the View tab of Tools | Options,
and you must clear the check box. The ¶ button just toggles between display
of *all* nonprinting characters and any specific ones you have checked on
the View tab.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://www.mvps.org/word
 
D

Doug Robbins - Word MVP

Hi Wolfgang,

If there is other hidden text in the document that you want to be able to
see, without the XE fields altering the layout of the document, use the
following macro:

' Macro created 21 March 1999 by Doug Robbins to hide XE fields
'
Dim axe As Field
For Each axe In ActiveDocument.Fields
axe.Select
If Mid(Selection.Text, 3, 2) = "XE" Then
RangeStart =
Selection.Information(wdHorizontalPositionRelativeToPage)
Selection.Collapse Direction:=wdCollapseEnd
RangeEnd = Selection.Information(wdHorizontalPositionRelativeToPage)
RangeLength = RangeEnd - RangeStart
axe.Select
Selection.Font.ColorIndex = wdWhite
Selection.Collapse Direction:=wdCollapseEnd
Selection.Fields.Add Range:=Selection.Range, Type:=wdFieldEmpty,
Text:= _
"ADVANCE \l " & RangeLength & """, PreserveFormatting:=False"
End If
Next axe

--
Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested. Unsolicited questions forwarded
directly to me will only be answered on a consulting basis.

Hope this helps
Doug Robbins - Word MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top