Sub test2()
Set dico = CreateObject("scripting.dictionary")
Dim R(1 To 2) As Variant
'determine let tableau à analyser de la feuil1
R(1) = Feuil1.Range("A2:c2").Resize(Feuil1.UsedRange.Rows.Count).Value
'determine le tableau à analyser de la feuil2
R(2) = Feuil2.Range("A2:c2").Resize(Feuil2.UsedRange.Rows.Count).Value
For a = 1 To 2
For i = 1 To UBound(R(a))
clé = R(a)(i, 1) & "|" & R(a)(i, 2) & "|" & R(a)(i, 3)
If Not dico.Exists(clé) Then
dico(clé) = ""
Else
dico.Remove (clé)
End If
Next i
Next a
With Feuil3
'vide la feuil3 en gardant les entetes
.[a2:c2].Resize(.UsedRange.Rows.Count).Clear
With .Cells(Rows.Count, 1).End(xlUp).Offset(1).Resize(UBound(dico.keys) + 1)
.Value = Application.Transpose(dico.keys)
.TextToColumns Destination:=Range("A2"), DataType:=xlDelimited, _
TextQualifier:=xlDoubleQuote, Other:=True, OtherChar:="|", FieldInfo:=Array(Array(1, 1), Array(2, 1), Array(3, 1)), _
TrailingMinusNumbers:=True
End With
End With
End Sub