- ©«¤l
- 4901
- ¥DÃD
- 44
- ºëµØ
- 24
- ¿n¤À
- 4916
- ÂI¦W
- 115
- §@·~¨t²Î
- Windows 7
- ³nÅ骩¥»
- Office 20xx
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥x¥_
- µù¥U®É¶¡
- 2010-4-30
- ³Ì«áµn¿ý
- 2024-5-19
|
- Sub ex()
- Set d = CreateObject("Scripting.Dictionary")
- With ¤u§@ªí1
- For Each a In .Range(.[A1], .[A1].End(xlDown))
- mystr = a & a.Offset(, 1) & a.Offset(, 2) & a.Offset(, 4)
- If d.exists(mystr) Then MsgBox a & "¸ê®Æ«½Æ"
- d(mystr) = Application.Transpose(Application.Transpose(a.Resize(, 6).Value))
- Next
- End With
- With ¤u§@ªí2
- .Cells.ClearContents
- .[A1].Resize(d.Count, 6) = Application.Transpose(Application.Transpose(d.items))
- End With
- End Sub
½Æ»s¥N½X ¦^´_ 5# jackyliu |
|