I am trying to set up a command button that will copy and paste data from one sheet to another.
Currently my code looks like this:
Private Sub CommandButton1_Click()
ThisWorkbook.Sheets("Raw Data").Activate
ThisWorkbook.Sheets("Data AC").Range("A1:J1000").Select
Selection.Copy
ThisWorkbook.Sheets("Raw Data").Range("A2:J1001").Select
Selction.Paste
End Sub
I keep getting an error saying 'select method of range class failed', but cannot work out how to fix it. Thanks