相关文章推荐
阳刚的凉面  ·  TypeInitializationExce ...·  1 年前    · 
爱笑的草稿本  ·  MATLAB中的set函数 - ...·  1 年前    · 
Set d = CreateObject("Scripting.Dictionary") arr = [A1].CurrentRegion brr = [A11].CurrentRegion For i = 2 To UBound(arr)     d(arr(i, 1) & arr(i, 2)) = i For j = 2 To UBound(brr)     If d.Exists(brr(j, 1) & brr(j, 2)) Then         m = d(brr(j, 1) & brr(j, 2))         brr(j, 3) = arr(m, 3)         brr(j, 4) = arr(m, 4)     End If [A11].Resize(UBound(brr), 4) = brr End Sub