Bonjour à tous,
Voici mon objectif : Si dans la colonne C (ou E, mais pour l'instant j'essaye avec C) j'ai une cellule qui affiche un temps supérieur à 01:45:00 alors supprimer la ligne.
J'ai écris ce code mais ça ne fonctionne pas D'où ma petite demande d'aide
Sub supression_tps()
Application.ScreenUpdating = 0: Application.Calculation = -4135
Dim dlig&, lig&: dlig = Cells(Rows.Count, 3).End(xlUp).Row
For lig = dlig To 2 Step -1
If Cells(lig, 3) = ">01:45:00" Then Rows(lig).Delete
Next lig
Application.Calculation = -4105
End Sub