- ©«¤l
- 5923
- ¥DÃD
- 13
- ºëµØ
- 1
- ¿n¤À
- 5986
- ÂI¦W
- 0
- §@·~¨t²Î
- win10
- ³nÅ骩¥»
- Office 2010
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥xÆW°ò¶©
- µù¥U®É¶¡
- 2010-5-1
- ³Ì«áµn¿ý
- 2022-1-23
|
¦^´_ 1# sandra_wang - Sub Ex()
- Dim D As Object, R, S$, Rng As Range
- Set D = CreateObject("Scripting.Dictionary")
- With ActiveSheet
- .[HR9].Resize(, 7).Copy .[HZ9]
- .[HZ9].CurrentRegion.Offset(1).Clear
- For Each R In .Range(.[HR10], .[HR10].End(xlDown))
- S = Join(Application.Transpose(Application.Transpose(R.Resize(, 6))), ",")
- D(S) = D(S) + R(1, 7)
- Next
- Set Rng = .[HZ9].Offset(1)
- For Each R In D.KEYS
- Rng.Resize(, 6) = Split(R, ",")
- Rng.Offset(, 6) = D(R)
- Set Rng = Rng.Offset(1)
- Next
- End With
- End Sub
½Æ»s¥N½X |
|