ADA
ADA
ADA
ADA
ADA
ADA
My current code is this:
Private Sub Divide5_Click()
Dim Lst As Long
Dim n As Long
Dim i As Integer
Lst = Range("A" & Rows.Count).End(x1Up).Row
i = 0
For n = 2 To Lst Step 1
With Range("A" & n)
If .Value = .Offset(1).Value Then
i = i + 1
End If
If i = 5 Then
.EntireRow.Insert
End If
End With
Next n
End Sub