- ©«¤l
- 4901
- ¥DÃD
- 44
- ºëµØ
- 24
- ¿n¤À
- 4916
- ÂI¦W
- 255
- §@·~¨t²Î
- Windows 7
- ³nÅ骩¥»
- Office 20xx
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥x¥_
- µù¥U®É¶¡
- 2010-4-30
- ³Ì«áµn¿ý
- 2024-11-25
|
¦^´_ 1# ansonwen0107 - Sub searchdata()
- Set d = CreateObject("Scripting.Dictionary")
- For Each sh In Sheets(Array("a", "b"))
- With sh
- For Each a In .Range(.[B2], .[B65536].End(xlUp))
- d(a.Value) = Array(a.Offset(, -1).Value, a.Offset(, 1).Value, a.Offset(, 2).Value)
- Next
- End With
- Next
- With Sheets("´M§ä")
- For Each a In .Range(.[A2], .[A65536].End(xlUp))
- a.Offset(, 1).Resize(, 3) = ""
- a.Offset(, 1).Resize(, 3) = d(a.Value)
- Next
- End With
- End Sub
½Æ»s¥N½X |
|