Sub SupprimerLignesZero()
Application.ScreenUpdating = False
With Range("A1", ActiveSheet.UsedRange)
.Range("14:" & .Rows.Count).Borders.LineStyle = xlNone 'efface les bordures
.Columns(18).EntireColumn.Insert 'colonne auxiliaire
.Columns(18).FormulaR1C1 = "=1/(SUMPRODUCT(ISNUMBER(RC9:RC17)*(RC9:RC17=0))=9)"
.Columns(18) = .Columns(18).Value 'supprime les formules
.EntireRow.Sort .Columns(18), xlDescending, Header:=xlNo 'tri décroissant pour placer les 1 en bas
On Error Resume Next 'si aucune SpecialCell
.Columns(18).SpecialCells(xlCellTypeConstants, 1).EntireRow.Delete 'supprime les résultats numériques (1)
.Columns(18).EntireColumn.Delete 'supprime la colonne auxiliaire
End With
'---bordures---
With [A13].CurrentRegion.Resize(, 17)
.Borders.Weight = xlMedium
If .Cells(.Rows.Count + 2, 9) <> "" Then .Cells(.Rows.Count + 2, 9).Resize(, 9).Borders.Weight = xlMedium
End With
End Sub