Please can you assist me with what appears to be a simple problem? Note, this question is close to being a last resort since I have tried all the usual sites to find an answer but frustratingly, without success.
I am using Excel vba. I want to copy some values from a worksheet into another worksheet in the same workbook.
The line of code I have produced is as follows:
Range(Cells(1, 4), Cells(1, 6)) = Worksheets("Summary Data").Range(Cells(1, 4), Cells(1, 6))
This line of code produces a 'Run-time error 1004'.
If I run the following line of code it runs fine:
Range(Cells(1, 4), Cells(1, 6)) = Worksheets("Summary Data").Cells(1, 4)
However, I want to copy the range on Worksheet "Summary Data" into another worksheet.
Please could someone assist me in the management of my blood pressure by offering an explanation for the error above and / or a solution?