CatLadee
New Member
- Joined
- Sep 7, 2018
- Messages
- 29
Can one of you smart people please give me a hint about why I am unable to increment through one range to move it to another location with my current code? The current counter just gives the last variable in the loop for all of the new range's slots. The comma'd out counter says type mismatch. in a jam - please help. Thank you thank you thank you in advance! - CatLadee
With Worksheets("Brackets").Range("Anchor_R1")
Set rng = Range(.Offset(1, 10), .Offset(1, 10).End(xlDown))
r = 1
For Each cell In rng
Range(.Offset(12, 2), .Offset(12, 3).End(xlDown)) = rng(r)
r = r + 1 'rng(r) = rng(r) + 1
Next cell
End With
With Worksheets("Brackets").Range("Anchor_R1")
Set rng = Range(.Offset(1, 10), .Offset(1, 10).End(xlDown))
r = 1
For Each cell In rng
Range(.Offset(12, 2), .Offset(12, 3).End(xlDown)) = rng(r)
r = r + 1 'rng(r) = rng(r) + 1
Next cell
End With