Hi all,
Hope someone can help, im trying to make a loop that relies on a range, which should be changing every cycle.
So if range i want to paste is from C8:C25 ... in theory when i set offset 22,0, the new range should be C29:C46 ... but won´t work and will paste again same initial range..
Hope it makes sense.
Thanks in advance!
Hope someone can help, im trying to make a loop that relies on a range, which should be changing every cycle.
VBA Code:
Range("Q244").Select
Do Until ActiveCell.Offset(0, -1) = ""
Set RangeLoop = Range("C8:C25")
With ActiveCell
RangeLoop.Copy
ActiveCell.PasteSpecial xlPasteValues
End With
ActiveCell.Offset(18, 0).Select
Set RangeLoop = RangeLoop.Offset(22, 0)
Loop
So if range i want to paste is from C8:C25 ... in theory when i set offset 22,0, the new range should be C29:C46 ... but won´t work and will paste again same initial range..
Hope it makes sense.
Thanks in advance!