Option Explicit
Sub sup()
Dim i As Long, derligne As Long
Application.ScreenUpdating = False
With Sheets("Domicile")
derligne = .Range("F3").End(xlDown).Row
For i = derligne To 1 Step -1
Sheets("MDJ").Select
If .Cells(i, 6) <> Range("C2") And .Cells(i, 6) <> Range("D2") Then
.Cells(i, 6).Clear
End If
Next i
End With
Sheets("Domicile").Select
Range("A1").Select
Application.ScreenUpdating = True
End Sub