Sub Supprimer()
Dim i&, t
If Me.FilterMode Then Me.ShowAllData
t = Range("a1:d" & Cells(Rows.Count, "a").End(xlUp).Row)
For i = 1 To UBound(t)
If t(i, 1) = "X" Or t(i, 1) = "W" Then t(i, 2) = "": t(i, 3) = ""
If t(i, 1) = "W" Then t(i, 4) = ""
Next i
Range("a1").Resize(UBound(t), 4) = t
End Sub