En complément d'information, voici le code VBA que j'ai entré. Mais il ne fonctionne pas.
Pourriez vous me dire quelle erreur j'ai pu faire dans le code ?
Sub aa()
Dim DerCol As Integer, i As Integer
Application.ScreenUpdating = False
Call Tout_montrer
DerCol = Cells(1, Columns.Count).End(xlToLeft).Column
For i = Range("A" & Rows.Count).End(xlUp).Row To 2 Step -1
If WorksheetFunction.CountIf(Range(Cells(i, 3), Cells(i, DerCol)), "OUI") + WorksheetFunction.CountIf(Range(Cells(i, 3), Cells(i, DerCol)), Range("A1").Value) <= 0 Then
Rows(i).EntireRow.Hidden = True
End If
Next
ActiveWindow.ScrollColumn = 1
ActiveWindow.ScrollRow = 1
End Sub
Sub Tout_montrer()
Cells.EntireRow.Hidden = False
End Sub
Bien à vous
Navillus