- ©«¤l
- 45
- ¥DÃD
- 10
- ºëµØ
- 0
- ¿n¤À
- 59
- ÂI¦W
- 0
- §@·~¨t²Î
- Win7
- ³nÅ骩¥»
- Office 2007
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2014-2-6
- ³Ì«áµn¿ý
- 2019-6-22
|
¦^´_ 10# ã´£³¡ªL
¦P·N²a´£³¡ªL«e½ú©Ò¨¥,
¤]½Ð¤¹³\¤p§Ì«_¬N´£ÂI¬Ýªk,µo¨¥¦³¤£·í³B½Ð¤£§[«ü¥¿,¤p§Ì¤@©w§ï¶i.
¤p§Ì¥H¬°,
´£¨ÑªþÀɪº²z¥Ñ¤§¤@¦b©ó¸ÑµªªÌ¤£»Ý¦A¤â°Ê¦Û¤vÁä¤J¸ê®Æ¥h¶i¦æ´ú¸Õ,¬Ù¥h³Â·Ð.
ªO¤W«e½úÄ@·NµLÀv´£¨Ñ¸Ñµª,´£°ÝªºªO¤Í´£¨ÑªþÀÉ,À³¤£¬O¤Ó¤j§xÃø.
²z¥Ñ¤§¤G¦b©ó¦³®É¤£´£¨ÑªþÀÉ,¯uªº®e©ö³y¦¨»~·|,¦]¨C¤H·Q¨Æ±¡¬Ý¨Æ±¡ªº¨¤«×¤£¦P,
Y¦³ªþÀÉ,¥i¯à·|§ó©ö²z¸Ñ°ÝÃD©Ò¦b.
¨ä¹ê«e±¦^¤å¤w¦³¤£¤Ö°ª¤â«e½ú̦^Âк맮¸Ñµª,
¥¼¯àµª¨ìªO¤Í·Qnªº®ÄªG,¥i¯à´N¬OµLªþÀɤ§¬G¾ÉP²£¥Í¹ï°ÝÃDªº»~¸Ñ,
Y¦³´£¨ÑªþÀÉ,·Q¥²¯à§K¥h¦¹¤@¿ò¾Ñ.
¥H¤W©Ò¨¥¶È¨Ñ°Ñ¦Ò,¤£·í³B½Ð®ü²[.
¤p§Ì¤æÁx,
ªþ¤W¤p§Ìקï¦Û²a´£³¡ªL«e½ú©Ò¼g¤§µ{¦¡½X«áªºª©¥»¤ÎÀÉ®×,µ´«D¤p§Ì©Òì³Ð,¯S¦¹Án©ú.
vba¥\¤O¤Ó®t,§ï±o¤£¦n,§Æ±æ¦³©ÒÀ°§U,¦³¤£·í³B¤]½Ð«e½úÌ°È¥²«üÂI¤@¤G,·PÁÂ.
¥»·Q¼gµù¸Ñ,¦ý¦]¥Ø«e¹ï«e½ú©Ò¼gªºì¥»µ{¦¡½XÁÙ¤£´±»¡¤w¦³¥R¤Àªº²z¸Ñ,
¦³®É¬Oª¾¨äµM¦Ó¤£ª¾¨ä©Ò¥HµM,¹ç¥i¥ý¤£¼g,¥H§K¦³»~¾ÉªO¤Í¤§¶û,½Ð¨£½Ì...- '¦¹µ{¦¡½Xקï¦Û³Â»¶®a±Ú°Q½×°Ïexcel°ª¤â²a´£³¡ªL«e½ú©Ò¼g,«D§Ú¦Û³Ð.
- '°Q½×°Ïºô§}:http://forum.twbts.com/index.php
- Sub test()
- Dim arr, brr, myD, N, T
- Set myD = CreateObject("scripting.dictionary")
- arr = Range("a2:d" & Cells(Rows.Count, 1).End(xlUp).Row)
- ReDim brr(1 To UBound(arr), 1 To 4)
- N = 1
- For i = 1 To UBound(arr)
- T = arr(i, 2) & arr(i, 3) & arr(i, 4)
- If myD(T) = 1 Then GoTo 101
- For j = 1 To 4
- brr(N, j) = arr(i, j)
- Next j
- N = N + 1
- myD(T) = 1
- 101:
- Next i
- If N > 0 Then [h2].Resize(N, 4) = brr
- End Sub
½Æ»s¥N½X
2-2 (¦hÄæ¸ê®Æ)¦hÄæ¸ê®Æ¬Ò¬Û¦P¤~§R°£«½Æ¾î¦C.zip (9.44 KB)
|
|