Bonjour le fil,
Je n''ai pas compris ce qu'il fallait obtenir à partir du problème illustré au premier post 8)
Il faut comparer tes 2 colonnes et ne garder les valeurs de la colonne A qui ne sont pas présentes en colonne B, c'est ça
Option Explicit
Sub test()
Dim a, e
With Sheets("feuil1")
a = .Range("a1", .Range("a" & Rows.Count).End(xlUp)).Value
End With
With CreateObject("Scripting.Dictionary")
.CompareMode = 1
For Each e In a
.Item(e) = Empty
Next
With Sheets("feuil1")
a = .Range("b1", .Range("b" & Rows.Count).End(xlUp)).Value
End With
For Each e In a
If .exists(e) Then .Remove e
Next
If .Count > 0 Then
Sheets("feuil1").Range("d1").Resize(.Count).Value = Application.Transpose(.keys)
End If
End With
End Sub
klin89