Sub test()
'***Pour sélectionner les lignes correspondant au critère.
Dim Plage As Range, c As Range
Dim Adr As String
With ActiveSheet.Range("AJ17:AJ" & Range("AJ65500").End(xlUp).Row)
Set c = .Find(0, LookIn:=xlValues)
If Not c Is Nothing Then
firstAddress = c.Address
Adr = c.Address
lig = c.Row & ":" & c.Row
Do
Set c = .FindNext(c)
Adr = Adr & "," & c.Address
lig = lig & "," & c.Row & ":" & c.Row
Loop While Not c Is Nothing And c.Address <> firstAddress
End If
End With
ActiveSheet.Range(lig).Select
Selection.clearcontents
End Sub