- ©«¤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# jackyliu
¸Õ¸Õ¬Ý- Option Explicit
- Sub Ex()
- Dim D As Object, E, I As Integer
- Set D = CreateObject("Scripting.dictionary") '¦r¨åª«¥ó
- For Each E In Sheet1.Range("a1").CurrentRegion.Rows 'ª«¥ó: A1©Ò©µ¦ù½d³òªº¦C
- D(E.Cells(1, 1) & E.Cells(1, 2) & E.Cells(1, 3) & E.Cells(1, 5)) = E.Value
- Next
- With Sheet2
- .Cells.Clear
- I = 1
- For Each E In D.KEYS
- .Cells(I, "A").Resize(1, UBound(D(E), 2)) = D(E) 'Ū¨ú¦r¨åª«¥óªºITEM(°}¦C)
- I = I + 1
- Next
- End With
- End Sub
½Æ»s¥N½X |
|