ì¸ê®Æ¦p¦ó¥Î¦r¨å©î¤À¡A¤J¤£³sÄòªºÄæ¦ì
- ©«¤l
- 248
- ¥DÃD
- 76
- ºëµØ
- 0
- ¿n¤À
- 331
- ÂI¦W
- 0
- §@·~¨t²Î
- XP
- ³nÅ骩¥»
- XP
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- kaohsiung
- µù¥U®É¶¡
- 2013-6-10
- ³Ì«áµn¿ý
- 2020-7-3
|
¦pªG ¥u¬OnÄæ¦ì¶×¤J¡A¤£§PÂ_¡A¤U±n¦p¦ó§ï¡H
For Each Rng In Range("a2:a" & Cells(Rows.Count, 1).End(xlUp).Row)
Rng.Offset(0, 1).Resize(1, 7) = d(Rng.Value)
Next |
|
§Æ±æ¤ä«ù!
|
|
|
|
|
- ©«¤l
- 163
- ¥DÃD
- 1
- ºëµØ
- 0
- ¿n¤À
- 170
- ÂI¦W
- 0
- §@·~¨t²Î
- Window 7
- ³nÅ骩¥»
- Office 2007
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2010-9-5
- ³Ì«áµn¿ý
- 2022-7-20
|
¦^´_ 1# s7659109
½Ð°Ñ¦Ò- Sub test() '¦r¨å»P¼Æ²Õ
- Dim arr
- Set d = CreateObject("scripting.dictionary")
- Dim lastrow&
- lastrow = Sheet2.Cells(Rows.Count, 1).End(xlUp).Row
- arr = Sheet3.Range("a1:h" & lastrow)
- For i = 2 To UBound(arr)
- ' d(arr(i, 1)) = Array(arr(i, 2), arr(i, 3), arr(i, 4), arr(i, 5), arr(i, 6), arr(i, 7), arr(i, 8))
- d(arr(i, 1)) = Array(arr(i, 2), arr(i, 3), "", arr(i, 7), arr(i, 8), "", arr(i, 4))
- Next
- For Each Rng In Range("a2:a" & Cells(Rows.Count, 1).End(xlUp).Row)
- Rng.Offset(0, 1).Resize(1, 7) = d(Rng.Value)
- Next
- End Sub
½Æ»s¥N½X |
|
|
|
|
|
|