For i = .Range("A65000").End(xlUp).Row - 1 To 6 Step -1
If .Cells(i, 1) <> .Cells(i - 1, 1) Then .HPageBreaks.Add Before:=Rows(i)
Next
Dim ligne As Integer
For ligne = 5 To .Range("A65000").End(xlUp).Row - 1
If .Cells(ligne, 1) <> .Cells(ligne + 1, 1) Then
Rows("1:3").Select
Selection.Copy
Rows("ligne:ligne").Select
Selection.Insert Shift:=xlDown
End If
Next