Sub copyandpaste()
Dim lr As Long
lr = Range("R" & Rows.Count).End(3).Row 'last row in column X
Range("AD5:AJ6").Copy Range("X" & lr)
End Sub
Sub move_data()
lastrow = ActiveSheet.Cells(Rows.Count, "R").End(xlUp).Row
newrow = lastrow + 1
ActiveSheet.Range("AD5:AJ6").Copy Range(Cells(newrow, 18), Cells(newrow + 1, 24))
End Sub
Yes this worked by changing ActiveSheet.Cells(Rows.Count, "R" to ActiveSheet.Cells(Rows.Count, "X"Hi,
would this do what you need ?
VBA Code:Sub move_data() lastrow = ActiveSheet.Cells(Rows.Count, "R").End(xlUp).Row newrow = lastrow + 1 ActiveSheet.Range("AD5:AJ6").Copy Range(Cells(newrow, 18), Cells(newrow + 1, 24)) End Sub