Index: find/replace and delinking

G

Guest

Two quick questions:
(1) How do you find and replace text in an XE field? ^d XE "text" allows
you to find but you're not allowed to use ^d to replace. If in replace you
can't you ^d, then you are unable to replace text and get the curly
brackets--hence, it won't go into the index.
(2) How do you delink the index from the document in which it is being built?
I want to copy the finished index to a new Word document and also to conduct
final editing of it (e.g. deleting the multiple entries for one entry that
Word has just given me without being invited to do so)?
MANY thanks in advance for your help on this,
Jeannie
 
S

Stefan Blom

1. Searching for ^d XE finds the entire field, including the field
delimiters; I don't think it is possible to use it to alter part of
the field code. If you explained exactly where you want to add the
curly brackets, perhaps someone would have a suggestion.

2. If Word added XE fields that are not needed, just display hidden
text and then delete those fields. Then update the index (right-click
it and choose Update Field or press F9).

If you really need to perform manual editing of the index, copy it to
another document and then unlink it by pressing Ctrl+Shift+F9.

--
Stefan Blom
Microsoft Word MVP


in message
news:[email protected]...
 
G

Guest

Thanks very much for this. What I tried to do was, for example, find all the
XE entries that said John Doe and change them to Doe, John. So in Find what:
i put ^d XE "John Doe" and in Replace with I put ^d XE "Doe, John". I then
receive a message saying that ^ is an invalid character for Replace with.
There's my problem. Any solutions out there?
Thanks,
 
S

Stefan Blom

The following should work: Display hidden text to see the XE fields.
Then enter

XE "John Doe"

in the "Find what" box and

XE "Doe, John"

in the "Replace with" box, and click the Replace All button.

Repeat the above for any additional names to replace.

This is an easy solution, and it should work if the number of names to
replace is relatively small.

--
Stefan Blom
Microsoft Word MVP


in message
 

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