Hi Gmayor

thank you for the code

i have tested it with no issues

however, when I tested the same code on a colleagues’s word doc(which has the same version of Windows, office,etc)

the code runs into an error with the following line:
subdoc.range.paste

why would that be the case? Pressing ‘continue’ in vba allows the rest of the code to run normally

thanks