Sub Différence()
Dim Tablo, i%, IndX%, IndY%, Plage1, Plage2, F
[A3:B1000].ClearContents
Set F = Sheets("feuille base de données")
DL = F.Range("A65500").End(xlUp).Row
ReDim Tablo(DL, 1)
Set Plage1 = F.Range("A2:A" & DL): Set Plage2 = F.Range("B2:B" & DL)
IndX = 0: IndY = 0
For i = 2 To DL
If Application.CountIf(Plage2, F.Cells(i, "A")) = 0 Then
Tablo(IndX, 0) = F.Cells(i, "A")
IndX = IndX + 1
End If
If Application.CountIf(Plage1, F.Cells(i, "B")) = 0 Then
Tablo(IndY, 1) = F.Cells(i, "B")
IndY = IndY + 1
End If
Next i
[A3].Resize(UBound(Tablo, 1), 1 + UBound(Tablo, 2)) = Tablo
End Sub