Hi
I would like to have a VBA Please, it needs to copy the data in column I and paste in column J and when i run it every week i want the macro to automatically take the formula in column I and paste it in Column J and so on...
I have the code below but would appreciate if someone can help me with tweaking as i am not sure how to maybe use an offset
I would like to have a VBA Please, it needs to copy the data in column I and paste in column J and when i run it every week i want the macro to automatically take the formula in column I and paste it in Column J and so on...
I have the code below but would appreciate if someone can help me with tweaking as i am not sure how to maybe use an offset
Code:
Sub Manuel()
Application.ScreenUpdating = False
Dim lr As Long, i As Long
lr = Range("H" & Rows.Count).End(xlUp).Row
For i = 2 To lr
Dim rng As Range, rng2 As Range
Set rng = Range("H" & i & ":H" & i + 4)
rng.Copy
Range("I" & i).PasteSpecial xlPasteValues
i = i + 6
Next i
Application.CutCopyMode = False
Application.ScreenUpdating = True
MsgBox "complete"
End Sub