- ©«¤l
- 1572
- ¥DÃD
- 16
- ºëµØ
- 2
- ¿n¤À
- 1521
- ÂI¦W
- 0
- §@·~¨t²Î
- xp
- ³nÅ骩¥»
- office 2003
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2010-5-1
- ³Ì«áµn¿ý
- 2016-1-13
|
§ï³o¼Ë·|§Ö±o¦h
Sub pp()
Dim mSht As Worksheet
Dim d As Object, arr
Dim s%, m%, r%
Dim mRng
Set d = CreateObject("Scripting.Dictionary")
Set mSht = Worksheets("Test")
With mSht
mRng = .Range("a1:g10988")
r = UBound(mRng, 1)
For s = 1 To r
arr = Array(mRng(s, 1), mRng(s, 2), mRng(s, 3), mRng(s, 4), mRng(s, 5), mRng(s, 6), mRng(s, 7))
MyCom = Join(arr)
d(s) = MyCom
Next
.Range("h1").Resize(r) = Application.Transpose(d.items)
.Range("h1") = "¦X¨Öñ¼f"
End With
End Sub |
|