Chris Macro
Well-known Member
- Joined
- Nov 2, 2011
- Messages
- 1,345
- Office Version
- 365
- Platform
- Windows
I am getting an error on this line of code and I assume that it is just formatted wrong. I also put in the next line for pasting as I believe it might be formatted incorrectly also. The error I am getting is "Method 'Range' of 'object_Worksheet' failed".
Variable LastRow_T1 = 16
Code:
****sheet2.Range(Cells(14, "C"), Cells(LastRow_T1, "N")).Copy
****Sheet5.Range("A5").Paste
Variable LastRow_T1 = 16
Code:
****sheet2.Range(Cells(14, "C"), Cells(LastRow_T1, "N")).Copy
****Sheet5.Range("A5").Paste
Last edited: