ربما كان المطلوب في هذا الكود
Sub del_dupl()
Dim Source_Rg, target_rg As Range
Dim rg_to_del As Range
Dim m, n, i, j As Integer
Set Source_Rg = Range("a1:a8")
Set target_rg = Range("b1:b8")
m = Source_Rg.Count
n = target_rg.Count
For i = 1 To m
For j = 1 To n
If Cells(i, 1) = Cells(j, 2) Then
If rg_to_del Is Nothing Then
Set rg_to_del = Union(Cells(i, 1), Cells(j, 2))
Else
Set rg_to_del = Union(rg_to_del, Cells(j, 2))
' rg_to_del.Select
End If
End If
Next
If rg_to_del Is Nothing = False Then
' rg_to_del.Select
rg_to_del = ""
Set rg_to_del = Nothing
End If
Next
End Sub