It is better for you to learn how to help yourself than for someone to do it all for you.
Greg's code shows you HOW to find the text but it does not actually change anything (it just selects it for an instant) because you weren't specific about what you wanted to find and what you wanted to replace it with.
Study some of the other solution examples you referred to in your first post to see how they are coded. You specifically need to look for lines that mention ".Replacement.Text" and "wdReplaceAll". Study the code in those samples and compare them with the code Greg gave you.
If you still can't work it out then by all means come back here for more guidance but you should demonstrate that you made some effort to understand the code first.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
|