´£¨Ñ¦b¤u§@ªíª½±µ¤è¦¡¡]¤å¦r½Ð¤â°Ê¶K¤J¡^¡G
Sub TEST20150903_2()
Dim Arr, Brr, R&, C&, i&, j%, TM, TT$, T, N&
TM = Timer
With ActiveSheet.UsedRange
¡@¡@Arr = .Value: Brr = .Columns(1)
¡@¡@R = UBound(Arr, 1): C = UBound(Arr, 2)
End With
TT = "lang ""Traditional Chinese"""
For i = R To 1 Step -1
¡@¡@For j = 1 To C
¡@¡@¡@¡@If InStr("_" & Arr(i, j), TT) > 1 Then T = 1: Exit For
¡@¡@Next
¡@¡@If T = 0 Then Brr(i, 1) = i Else Brr(i, 1) = "": N = N + 1
¡@¡@For j = 1 To C
¡@¡@¡@¡@If IsNumeric(Arr(i, j) & "") Then T = 0: Exit For
¡@¡@Next j
Next
[K1].Resize(UBound(Brr)) = Brr
[A:K].Sort Key1:=[K1], Order1:=xlAscending, Header:=xlNo
Rows(R - N + 1 & ":" & R + 1).Clear
[K:K].Clear
MsgBox "§¹¦¨¡D¦@§R°£ " & N & " ¦æ¡D¯Ó®É " & Timer - TM & " ¬í"
End Sub
¡@
³o¬O²Ä¤GºØ¤èªk¡A½d¨ÒÀɦ³²Ä¤@ºØ¤èªk¡A³t«×ºC¤F³\¦h¡G
[attach]21896[/attach]
¡@§@ªÌ: Hsieh ®É¶¡: 2015-9-3 22:53