Je me réponds ..... c'était un oublie de ma part.....
Dim i As Long
Application.ScreenUpdating = False
For i = Range("G65536").End(xlUp).Row To 1 Step -1
If Cells(i, 17).Value = "TEST1" Or Cells(i, 17).Value= "TEST2" Then Rows(i).Delete
Next i
Par contre ce que je ne comprends pas j'essaye d'inverser la conditions
A savoir supprimer toutes les lignes autres que TEST1 ou TEST2
Mais ca ne marche pas lorsque je change l'opérateur de conditions
If Cells(i, 17).Value <> "TEST1" Or Cells(i, 17).Value<> "TEST2" Then Rows(i).Delete
Next i