The name of the macro is irrelevant to the code BUT changing to Selection is problematic if you are also using .Wrap = wdFindStop
If the first replace found something at the end of the selection, what do you expect the second replace to find?
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
|