Hi
I have this code Sub cpynpst()
Dim sh4 As Worksheet, sh5 As Worksheet, lr As Long, rng As Range
Set sh4 = Sheets("A Days")
Set sh5 = Sheets("WeeklyDetail")
lr = sh4.Cells(Rows.Count, 1).End(xlUp).Row
Set rng = sh4.Range("A2:A" & lr)
rng.EntireRow.Copy sh5.Cells(Rows.Count, 1).End(xlUp)(2)
End Sub
This work fine but, how would I adapt it to only copy from columns from A to D and paste special values ?
Just cannot get it to work
I have this code Sub cpynpst()
Dim sh4 As Worksheet, sh5 As Worksheet, lr As Long, rng As Range
Set sh4 = Sheets("A Days")
Set sh5 = Sheets("WeeklyDetail")
lr = sh4.Cells(Rows.Count, 1).End(xlUp).Row
Set rng = sh4.Range("A2:A" & lr)
rng.EntireRow.Copy sh5.Cells(Rows.Count, 1).End(xlUp)(2)
End Sub
This work fine but, how would I adapt it to only copy from columns from A to D and paste special values ?
Just cannot get it to work