ar = Range("a1:c18") ReDim br(1To UBound(ar), 1To UBound(ar, 2))
Dim d AsObject, kw$ Set d = CreateObject("Scripting.Dictionary") 'd.CompareMode = vbTextCompare '不区分大小写
For i = 1To UBound(ar) kw = ar(i, 1) & ar(i, 2) IfNot d.exists(kw) Then k = k + 1 For j = 1To UBound(br, 2) br(k, j) = ar(i, j) Next j d(kw) = "" EndIf Next i