Sub Grouper()
Dim deb As Range, i&
Application.ScreenUpdating = False
Cells.ClearOutline 'RAZ
With [A1].CurrentRegion
Set deb = .Cells(3, 1)
For i = 4 To .Rows.Count + 1
If .Cells(i, 1) <> .Cells(i - 1, 1) Then
Range(deb, .Cells(i - 1, 1)).EntireRow.Group
i = i + 1
Set deb = .Cells(i, 1)
End If
Next
End With
ActiveSheet.Outline.ShowLevels RowLevels:=1
End Sub