To be honest, I can't quite grasp what you want to do. What does a
document full of AutoText entries have to do with Find/Replace? Can
you expand a bit on the purpose?
--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the
newsgroup so all may benefit.
Sure. I have a document with 2 columns that will consist of 500+ words or
phrase:
First column = Word ****(Plain text)
Second column = Word *******(formatted with bold, italics, with annotation)
I'm looking for a macro that will find the first column "Word" in my active
document and Replace with second column "Word" and format it Bold, Italics,
display the comment and with highlight.
Thank you and hope my request makes sense.

Signature
Smile...it is good for you! :)
> To be honest, I can't quite grasp what you want to do. What does a
> document full of AutoText entries have to do with Find/Replace? Can
[quoted text clipped - 67 lines]
> >> >> >> Email cannot be acknowledged; please post all follow-ups to the
> >> >> >> newsgroup so all may benefit.
Jay Freedman - 10 Mar 2007 21:57 GMT
A macro like that would be possible, although I can't say without
trying it whether the comment/annotation would come along.
There would have to be some preliminary code in the macro to open the
document containing the replacements (assuming the document to be
modified is already open), and set up some variables.
The core of the code would be a loop that steps through the rows of
the replacements table. For each row, it would run an inner loop that
uses the Find property of a Range object to search the active document
for the text from the first column. Each time it's found, the code
would replace the found text with the contents of the second column,
using the Range object's .FormattedText property.
It wouldn't be very hard to program, but it isn't something you can
just throw together -- there are usually some fiddly bits that need
tweaking after you test it with the real data.
--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the
newsgroup so all may benefit.
>Sure. I have a document with 2 columns that will consist of 500+ words or
>phrase:
[quoted text clipped - 79 lines]
>> >> >> >> Email cannot be acknowledged; please post all follow-ups to the
>> >> >> >> newsgroup so all may benefit.