Hello People,
I'm trying to get the data that i input into one workbook to be pasted into a database in another workbook.
So far I've pretty much gotten what i want except for one crucial part which is pasting the copied data into the new workbook. Below is the code that I've been constructing, what it does is copy a selection from the open workbook's second sheet and then opens the right sheet in the workbook i want it copied to and selects the right range to where it should be copied.
The issue i'm facing is then when i try to paste the values using .PasteSpecial i get the error message "pastespecial method of range class failed", However I can't seem to find out what I've done wrong to cause this error.
If anyone has any suggestions it would be greatly appreciated.
With regards,
Rekragisao
End with
![]()
Please Login or Register to view this content.
Bookmarks