.
I temporarily edited the code so it could be tested here (since your workbooks are not available for testing here).
This is what I was working with :
Commenting out some of the code allowed me to test the "copy and paste" aspects of the code. It works fine here.
Perhaps you need to focus on the ", WriteResPassword:="QualityClinic"" command.
I did not do any testing on it here, but it would appear that is the only thing left to confirm. Is the password correct ?
Does it need a password prior to pasting ? Have you utilized the correct syntax for providing the password ?
See attache workbooks.
Bookmarks