Quote Originally Posted by Lefemmenikit View Post
Hi Gmayor


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
I found the cause if anyone else is running into the same problem:



The other user had the clipboard history button seen in the screencap above set to 'on'. Once this was switched to 'off' the code ran smoothly with no issues