Hi, how can i use paste values in the below code when copying data to another sheet, i get an error when using the below.
Code:
Sub test()
Dim LR As Long
With Sheets("Rec")
LR = .Cells(Rows.Count, 1).End(xlUp).Row
With .Range("E8:E" & LR)
.Copy Destination:=Sheets("Data").Range("A9")
.PasteSpecial xlPasteValues
End With
End With
End Sub