j 'y arrive presque j'ai rajouter ce code c'est la partie en gras qui ne marche pas ! personne ne peut m'aider SVP!
If Application.Subtotal(103, .Columns(1)) > 100 Then
rwCt = 0
Set r = Range("A1").CurrentRegion.SpecialCells(xlCellTypeV isible)
N = r.Areas.Count
For i = 1 To N
rwCt = rwCt + r.Areas(i).Rows.Count
Next i
rwCt = rwCt - 100
Rows("1:rwCt").Selection.SpecialCells(xlCellTypeVi sible).Select
Selection.Offset(1).SpecialCells(xlCellTypeVisible ).Delete Shift:=xlUp
'.Offset(rwCt, 0).SpecialCells(xlCellTypeVisible).EntireRow.Delete
End If