Sub SupprLignes()
Dim dl&, f As Worksheet
Set f = Sheets("PRODUCTION")
dl = f.Cells(Rows.Count, "F").End(3).Row
Application.ScreenUpdating = False
Application.Calculation = xlCalculationManual
On Error Resume Next
With f.Cells(2, f.Columns.Count).Resize(dl - 1)
.Formula = "=IF(H2=""OUI"",""$"",0)"
.SpecialCells(xlCellTypeFormulas, 2).EntireRow.Delete
.Clear
End With
Application.Calculation = xlCalculationAutomatic
End Sub