- ©«¤l
- 4901
- ¥DÃD
- 44
- ºëµØ
- 24
- ¿n¤À
- 4916
- ÂI¦W
- 276
- §@·~¨t²Î
- Windows 7
- ³nÅ骩¥»
- Office 20xx
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥x¥_
- µù¥U®É¶¡
- 2010-4-30
- ³Ì«áµn¿ý
- 2024-12-22
|
¦^´_ 2# xandertco - Sub ¶ñ¤J()
- Set d = CreateObject("Scripting.Dictionary")
- With Sheets("±M®×½s¸¹")
- ar = .Range("A1").CurrentRegion.Value
- For i = 2 To UBound(ar, 1)
- d(ar(i, 1)) = IIf(d(ar(i, 1)) = "", ar(i, 2), d(ar(i, 1)) & "," & ar(i, 2))
- Next
- End With
- With Sheets("¥Í²£»â°h®Æ©ú²Óªí")
- For Each a In .Range("A:A").SpecialCells(xlCellTypeConstants)
- If d(a.Value) <> "" Then
- ay = Split(d(a.Value), ",")
- a.Offset(, 16).Resize(, UBound(ay) + 1) = ay
- End If
- Next
- End With
- End Sub
½Æ»s¥N½X |
|