ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

¤j¶q¸ê®Æ±Æ¦W

¦^´_ 1# oak0723-1

¤£¤@¼Ëªº¸Ñªk¦³¤ñ3#¦A´£¤É¤@ÂIÂI®Ä²v¡A½Ð´ú¸Õ¬Ý¬Ý¡AÁÂÁÂ

Sub test2()
Dim Arr, xD, a, T, i&
Set xD = CreateObject("Scripting.Dictionary")
Tm = Timer
Arr = Range("h6:h" & Cells(Rows.Count, 8).End(xlUp).Row)
For i = 1 To UBound(Arr)
    T = Arr(i, 1): If T <> "" Then xD(T) = ""
Next
For i = 1 To xD.Count
    a = Application.Large(xD.keys, i)
    n = n + 1: xD(a) = n
Next
For i = 1 To UBound(Arr)
    T = Arr(i, 1)
    If T = "" Then Arr(i, 1) = 0: GoTo 99
    Arr(i, 1) = xD(T)
99: Next
Range("j6").Resize(UBound(Arr)) = Arr
MsgBox Timer - Tm
End Sub

TOP

¦^´_ 5# oak0723-1

1.«e«á³£¦³¼Æ¾ÚªºªÅ¥ÕÀx¦s®æ-->Åã¥Ü0,¤£¦C¤J±Æ¦W
2.¼Æ¾Úµ²§ô«áªºªÅ¥ÕÀx¦s®æ-->¤£¦C¤J±Æ¦W,¤£§@°Ê§@,¨ÌµM¬OªÅ¥Õ
>> 3#µ{¦¡¦³²Å¦X¤W­z±ø¥ó¡AÁÂÁÂ

TOP

¦^´_ 9# samwang


    ­ì¨Ó¬Oj6¤½¦¡¥d¦í¾ãÅ骺¹Bºâ
ÁÂÁ§A

TOP

¦^´_ 6# oak0723-1

²¾°£J6 ¤½¦¡¦A°õ¦æµ{¦¡´N¥i¥H¡A½Ð´ú¸Õ¬Ý¬Ý¡AÁÂÁÂ

TOP

¦^´_ 7# oak0723-1


    ¬O§_§A¥»¨­ªº¤½¦¡¾É­P? ¥i§ï¬°¤â°Ê­«ºâ¸Õ¸Õ¡C

1100927-±Æ¦W.png (51.77 KB)

1100927-±Æ¦W.png

TOP

¦^´_ 2# ikboy
§A¦n
ÁÂÁ§Aªº¼ö¤ß¨ó§U
³o­Óµ{¦¡¦b­«½Æ°õ¦æ,´N¬O¤£Ãö³¬­«·s¶}±Ò,¦Óª½±µ§ó§ï¼Æ¾Ú,¨Ï¥Î·sªº1²Õ¼Æ¾Ú(¤º®e©M¼Æ¾Ú¼Æ¶q³£¤£¦P)¦A°õ¦æ,³t«×·|§óºC§ó®e©ö·í¾÷

TOP

¦^´_ 3# samwang


    §A¦n,·PÁ§AÄ@·N¼ö¤ß¨ó§U
§Ú°õ¦æ«áµo²{

¤£­«·s¶}±ÒÀÉ®×±¡ªp¤U§ó°Ê¼Æ¾Ú«á¦A°õ¦æµ{¦¡,µo²{°õ¦æ³t«×·|§óºCÀɮקó®e©ö·í¾÷

Image 7.jpg (199.91 KB)

Image 7.jpg

1100927-±Æ¦W01-3.rar (960.08 KB)

TOP

¦^´_ 4# samwang


    ©êºp§Ú¨S´y­z²M·¡
¤º®eªÅ¥Õ¦³2ºØ±¡§Î
1.«e«á³£¦³¼Æ¾ÚªºªÅ¥ÕÀx¦s®æ-->Åã¥Ü0,¤£¦C¤J±Æ¦W
2.¼Æ¾Úµ²§ô«áªºªÅ¥ÕÀx¦s®æ-->¤£¦C¤J±Æ¦W,¤£§@°Ê§@,¨ÌµM¬OªÅ¥Õ

Image 3.jpg (63.93 KB)

«e«á³£¦³¼Æ¾ÚªºªÅ¥ÕÀx¦s®æ

Image 3.jpg

Image 5.jpg (74.09 KB)

¼Æ¾Úµ²§ô«áªºªÅ¥ÕÀx¦s®æ

Image 5.jpg

TOP

¦^´_ 1# oak0723-1


½Ð°ÝHÄæ¼Æ­ÈªÅ¥Õ®É(¤£¬O0)¡A ±Æ¦W¬° 0¶Ü?

TOP

¦^´_ 1# oak0723-1

½Ð´ú¸Õ¬Ý¬Ý¡AÁÂÁÂ
Sub test()
Dim Arr, Brr, xD, T
Set xD = CreateObject("Scripting.Dictionary")
With Range("h6:h" & Cells(Rows.Count, 8).End(xlUp).Row)
    Brr = .Value
    .Sort key1:=.Item(1), Order1:=2, Header:=2
    Arr = .Value
    .Value = Brr
End With
For i = 1 To UBound(Arr)
    T = Arr(i, 1): If T = "" Then GoTo 98
    If xD(T) = "" Then: n = n + 1: xD(T) = n
98: Next
For i = 1 To UBound(Brr)
    T = Brr(i, 1)
    If T = "" Then Brr(i, 1) = 0: GoTo 99
    Brr(i, 1) = xD(T)
99: Next
Range("i6").Resize(UBound(Brr)) = Brr
End Sub

TOP

        ÀR«ä¦Û¦b : §g¤l¦p¤ô¡AÀH¤è´N¶ê¡AµL³B¤£¦Û¦b¡C
ªð¦^¦Cªí ¤W¤@¥DÃD