You are on page 1of 1

Sub AddRows()

Dim r As Long
For r = Cells(Rows.Count, 1).End(xlUp).Row To 2 Step -1
If Cells(r, 1) <> Cells(r - 1, 1) Then Rows(r).Insert Shift:=xlDown
Next r
End Sub

You might also like