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

[µo°Ý] ½Ð±Ð¦¹µ{§Ç¬õ¦â¦æ¦³¦ó¿ù»~??

[µo°Ý] ½Ð±Ð¦¹µ{§Ç¬õ¦â¦æ¦³¦ó¿ù»~??

Private Sub CommandButton5_Click()
Dim a, b, c, d, e, f, g, aa, U, V
For k = 3 To 12
If Cells(k, "M") > [v6] Then
' If Cells(k, "M") > TimeValue(Now) Then
Set a = Cells(k, "M")
Exit For
End If
Next

Set b = a.Offset(-1)
For c = 41 To 1200
If Cells(c, "a") > b Then
Set e = Cells(c, 1)
Exit For
End If
Next

Set g = Range("a65536").End(xlUp).Offset(0)

For d = g.Row To 21 Step -1
If Cells(d, "a") < a Then
Set f = Cells(d, 1)
Exit For
End If
Next

U = e.Offset(0, 2).Address
V = f.Offset(0, 2).Address

Set aa = Range(U, V).Find(Application.Large(Range(U, V), 1), LookIn:=xlValues, LookAt:=xlWhole)

End Sub

¥»©«³Ì«á¥Ñ t8899 ©ó 2016-5-31 19:31 ½s¿è

¨S°ÝÃD¤F
find °Ñ¼Æ §ï¬° LookIn:=xlFormulas

TOP

U,V ¤£¬O¦ì§}¤å¦r
©Î LARGE §ì¤£¨ì­È(½d³ò¤¤µL¼Æ­È, ©Î§t¿ù»~­È)

¨S¦³ÀÉ®×, ¥u¯à²q~~
­ã´£³¡ªL µoªí©ó 2016-5-31 15:37


¿ù»~°T®§  1004
À³¸Óµ{¦¡©Î©w¸q¤Wªº¿ù»~

TOP

U,V ¤£¬O¦ì§}¤å¦r
©Î LARGE §ì¤£¨ì­È(½d³ò¤¤µL¼Æ­È, ©Î§t¿ù»~­È)

¨S¦³ÀÉ®×, ¥u¯à²q~~

TOP

        ÀR«ä¦Û¦b : ¯àµ½¥Î®É¶¡ªº¤H¡A¥²¯à´x´¤¦Û¤v§V¤Oªº¤è¦V¡C
ªð¦^¦Cªí ¤W¤@¥DÃD