

Option Explicit
Sub 非包含标色()
Dim a, i, j, d
Set d = CreateObject("scripting.dictionary")
a = Range("e2:e" & Cells(Rows.Count, "e").End(xlUp).Row).Value
For i = 1 To UBound(a)
d(a(i, 1)) = 1
Next
Application.ScreenUpdating = False
[a1].CurrentRegion.Interior.ColorIndex = xlNone
a = [a1].CurrentRegion.Resize(, 2).Value '判断2列
For i = 1 To UBound(a)
For j = 1 To UBound(a, 2)
If d.exists(a(i, j)) Then Cells(i, j).Interior.Color = vbYellow
Next
Next
Application.ScreenUpdating = True
End Sub