I had help with a code to past values from one sheet to another and it worked for a few days but now I'm getting an error 438. The interesting thing is the almost exact same code on the same page works. And a similar code on a different sheet works fine. I cant figure out why its happening. Ill attach the workbook. If you hit the "protocol" button at A1 on the Coherence page you get the 438 error. If you hit the "protocol" button on the phase page it works fine.
This is the code
Formula:Please Login or Register to view this content.
It errors on the first "ws1.Cells(j, 22).PasteSpecial xlPasteValues" but if i delete that one and just have the second one it works fine... all that to say im very confused.
Bookmarks