Hi peeps. I have pinched most of the following code from a previous post. All I want to be able to do is move 3 columns down at once.
I've tried the following combinations - that don't work!!
Is it possible to do what I want in one line? If so I'm sure it will be so obvious.....
Many thanks,
Des.
Code:
Sub Budgets()
With Range([j6], [j6].End(xlDown))
Row = .Row
r1 = .Row + .Rows.count - 1
Do While Row <= r1
With Cells(Row, "j")
If (.Value) <> Cells(Row, "p") Then
Cells(Row, "p").insert Shift:=xlDown
Cells(Row, "q").insert Shift:=xlDown
Cells(Row, "r").insert Shift:=xlDown
Row = Row + 1
End If
Row = Row + 1
End With
Loop
End With
End Sub
Code:
Cells((Row, "p"):(Row, "r")).insert shift:=xlDown
Cells((Row, "p"):Cells(Row, "r")).insert shift:=xlDown
Range((Row, "p"):(Row, "r")).insert shift:=xlDown
Cells(Row, "p":"r").insert shift:=xlDown
Cells("P,Row:R,Row").insert Shift:=xlDown
Range("P,Row:R,Row").insert Shift:=xlDown
Many thanks,
Des.