View Single Post
  #4   Report Post  
Posted to microsoft.public.word.newusers
Suzanne S. Barnhill
 
Posts: n/a
Default Pasting into a search and replace

Is this still true even if the field code is displayed when you copy it?
When I try this, with a newly created DATE field, I get what looks like no
result (the "Find what" text deleted) until I Select All and F9 to update
the fields; then I get today's date for every "lorem" I replaced in my lorem
ipsum text. If I display field codes, I see a DATE field for each
replacement.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

"Ben K. Bullock" wrote in message
...

"Suzanne S. Barnhill" wrote in message
...
Copy your field to the Clipboard and use ^c (Clipboard contents) in the
"Replace with" box.


Thank you ever so much for your help. However, when I do that, I seem to

get
the current value of the field rather than the field itself.

I want to do a search and replace in the following way:

The current text is

"XYZ blah blah XYZ blah jah blah XYZ"

but I want to make XYZ into a field with the value ABC, so it looks like

"ABC blah blah ABC blah jah blah ABC",

but all the ABCs are actually fields, like { DocProperty XYZ }, rather

than
the value of the field, ABC. Does it make sense? I can't seem to get the
field itself into the "Replace with" box, only the current value.

Thanks again for any help with this.

"Ben K. Bullock" wrote in message
...
Thanks very much for answers to my previous enquiry about pasting into
the
search and replace box. After having read this newsgroup, it struck me

to
use a "bookmark" plus "REF" to search and replace repeated text so that
it
can be changed easily.

Is it possible to paste the contents of a "REF" into the "replace"

field,
and if so how do I do it? The obvious thing doesn't seem to work.

Thanks very much for any help with this.