Hi, i had a code. How to copy paste value?
Code:
Application.ScreenUpdating = False
With Sheets("path") 'Source worksheet name
Set DestSh = Sheets("FileCopy") 'Destination worksheet name
lr = .Cells.Find("*", , xlValues, , xlByRows, xlPrevious).Row
.Range(.Cells(2, "A"), .Cells(lr, "A")).Copy DestSh.Cells(2, "A") 'Ir = last column of x
.Range(.Cells(2, "F"), .Cells(lr, "F")).Copy DestSh.Cells(2, "B")
.Range(.Cells(2, "L"), .Cells(lr, "L")).Copy DestSh.Cells(2, "C")
End With
Application.ScreenUpdating = True