S
Stephen
Hello, everyone.
I've been sent a document to process by my employers that contains a
number of Word bookmarks and {PAGEREF} references to them. The usual
form for these is {PAGEREF <name>}, as {PAGEREF AutoSelection} or
whatever. Somehow, though, in the course of being processed, the names
in the {PAGEREF} fields have disappeared and been replaced by numbers.
They now look like this:
{PAGEREF _Ref500736802 \h}
Now, the "\h" bit is easy - the Word help file explains that it sets
up a hyperlink to the paragraph which has the given bookmark. However,
there is NO bookmark called "_Ref500736802" in the document - all the
bookmarks have human-readable names such as CrOview, Referral1,
SupOview and LogOnCom. The only reference to "_REF" I can find in the
Word help file is in the "Troubleshoot cross-references" section,
where one help page has the heading "I see {REF _Ref249586 \*
MERGEFORMAT} instead of the cross-reference." This, we are told,
merely means that we should hide field codes. It doesn't tell us where
the _Ref code comes from in the first place.
My employers want me to go through the document changing all the
{PAGEREF _Ref<code>} fields to {PAGEREF <bookmark name>} fields. Until
I know how the _Ref format of a cross-reference can be correlated with
a bookmark name, I can't do anything about it. Does anyone know how to
do this?
Thank you!
I've been sent a document to process by my employers that contains a
number of Word bookmarks and {PAGEREF} references to them. The usual
form for these is {PAGEREF <name>}, as {PAGEREF AutoSelection} or
whatever. Somehow, though, in the course of being processed, the names
in the {PAGEREF} fields have disappeared and been replaced by numbers.
They now look like this:
{PAGEREF _Ref500736802 \h}
Now, the "\h" bit is easy - the Word help file explains that it sets
up a hyperlink to the paragraph which has the given bookmark. However,
there is NO bookmark called "_Ref500736802" in the document - all the
bookmarks have human-readable names such as CrOview, Referral1,
SupOview and LogOnCom. The only reference to "_REF" I can find in the
Word help file is in the "Troubleshoot cross-references" section,
where one help page has the heading "I see {REF _Ref249586 \*
MERGEFORMAT} instead of the cross-reference." This, we are told,
merely means that we should hide field codes. It doesn't tell us where
the _Ref code comes from in the first place.
My employers want me to go through the document changing all the
{PAGEREF _Ref<code>} fields to {PAGEREF <bookmark name>} fields. Until
I know how the _Ref format of a cross-reference can be correlated with
a bookmark name, I can't do anything about it. Does anyone know how to
do this?
Thank you!