- ©«¤l
- 4901
- ¥DÃD
- 44
- ºëµØ
- 24
- ¿n¤À
- 4916
- ÂI¦W
- 253
- §@·~¨t²Î
- Windows 7
- ³nÅ骩¥»
- Office 20xx
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥x¥_
- µù¥U®É¶¡
- 2010-4-30
- ³Ì«áµn¿ý
- 2024-11-22
|
¦^´_ 1# basarasy - Sub Ex()
- Dim A As Range
- Set d = CreateObject("Scripting.Dictionary")
- Set d1 = CreateObject("Scripting.Dictionary")
- For Each A In Range([A1], [A1].End(xlDown))
- mystr = Join(Application.Transpose(Application.Transpose(A.Resize(, 4))), ",")
- d(mystr) = d(mystr) + A.Offset(, 4).Value
- d1(mystr) = Array(A.Value, A.Offset(, 1).Value, A.Offset(, 2).Value, A.Offset(, 3).Value, d(mystr))
- Next
- [H:L] = ""
- [H1].Resize(d1.Count, 5) = Application.Transpose(Application.Transpose(d1.items))
- End Sub
½Æ»s¥N½X ¦pªG§âªí®æ¥[¤WÄæ¦WºÙ¡A´N¥i¨Ï¥Î¼Ï¯Ã¤ÀªR |
|