- ©«¤l
- 835
- ¥DÃD
- 6
- ºëµØ
- 0
- ¿n¤À
- 915
- ÂI¦W
- 16
- §@·~¨t²Î
- Win 10,7
- ³nÅ骩¥»
- 2019,2013,2003
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2010-5-3
- ³Ì«áµn¿ý
- 2024-11-14
|
¦U¦ì¤j¤j¦n,
½Ð±Ð.....
§Ú·Q¦bEÄæ¤U¤@Ó¤½¦¡¡A¦b¨S¦³±Æ§Çªº±¡§Î¤U,ÅýBÄæ¬Û¦P²£«~½s¸¹¡A¯d¤U³Ì«á¤@Ó´N¦n ...
PJChen µoªí©ó 2014-11-20 19:01
¤½¦¡§Ú¤£·|,
Y§ï¥Î Excel VBA ˬO«Ü®e©ö°µ¨ì¦¹¥\¯à.- Sub nn()
- Dim lRow&
- Dim vD, vA
-
- Set vD = CreateObject("Scripting.Dictionary")
- lRow = Cells(Rows.Count, 5).End(xlUp).Row
- Range(Cells(5, 5), Cells(lRow, 5)).Clear
- lRow = 5
- Do While Cells(lRow, 2) <> ""
- vD(CStr(Cells(lRow, 2))) = lRow
- lRow = lRow + 1
- Loop
-
- For Each vA In vD
- Cells(vD(vA), 5) = vA
- Next
- End Sub
½Æ»s¥N½X |
|