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

[µo°Ý] ½Ð±Ð¦¹µ{§Ç¿ù¦b¦ó³B¡A¦p¦ó§ï ??

[µo°Ý] ½Ð±Ð¦¹µ{§Ç¿ù¦b¦ó³B¡A¦p¦ó§ï ??

Sub BBB()
A = Application.Large(Sheets("Sheet6").Range("ao20:ao350"), 1)
Sheets("Sheet6").Range("A10").Value = A.Offset(0, -37)
End Sub

Aªð¦^ªº¬O°Ï¶¡¤¤³Ì¤j¼Æ­È,¬O¼Æ­È¦Ó«D¸Ó¼Æ­È©Ò¦bªºÀx¦s®æ
¦Óoffset¨ç¼Æ¥²¥ý«ü©w¤@­ÓÀx¦s®æ©Î½d³ò(ª«¥ó)¦A¥h¨ú±o¨ä¦ì²¾°Ñ·Ó
­Y«ü©wªº¬O¤@­Ó¼Æ­È¦Ó«Dª«¥ó,´N·|¦]§ä¤£¨ìª«¥ó¦Óµo¥Í¿ù»~

¸Õ¸Õ¥H¤U±Ô­z

Sheets("Sheet6").[a10] = Sheets("Sheet6").[d19].Offset(WorksheetFunction.Match(Application.Large(Sheets("Sheet6").Range("ao20:ao350"), 1), Sheets("Sheet6").Range("ao20:ao350"), 0), 0)
My Blog
http://blog.xuite.net/a8350070

TOP

Aªð¦^ªº¬O°Ï¶¡¤¤³Ì¤j¼Æ­È,¬O¼Æ­È¦Ó«D¸Ó¼Æ­È©Ò¦bªºÀx¦s®æ
¦Óoffset¨ç¼Æ¥²¥ý«ü©w¤@­ÓÀx¦s®æ©Î½d³ò(ª«¥ó)¦A¥h ...
a8350070 µoªí©ó 2014-3-19 22:15

¸Õ¹L¥i¥H¡A¦ý°Ñ¼Æ¤Ó¦h¡A¬Ý¤£¤ÓÀ´?¦³µL¸û©öÀ´ªº¸Ñªk?

TOP

¦^´_ 3# t8899

A = Application.Large(Sheets("Sheet6").Range("ao20:ao350"), 1)

³o¼Ë±o¨ìªº¬O°Ï¶¡³Ì¤j­È¡A¬O­Ó¼Æ­È¡A¨Ã«DÀx¦s®æª«¥ó
¸Õ¸Õ
set a=Sheets("Sheet6").Range("ao20:ao350").find(application.max(Sheets("Sheet6").Range("ao20:ao350")))
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

¦^´_  t8899

A = Application.Large(Sheets("Sheet6").Range("ao20:ao350"), 1)

³o¼Ë±o¨ìªº¬O°Ï¶¡³Ì ...
Hsieh µoªí©ó 2014-3-20 08:28


Application.Large
application.max
³o¨â­Ó¦³®t§O¶Ü???

TOP

¥»©«³Ì«á¥Ñ owen06 ©ó 2014-3-20 09:45 ½s¿è

¦^´_ 3# t8899
  1. Sub BBB()
  2. A = [ao20:ao350].find(Application.Large(Sheets("Sheet6").Range("ao20:ao350"), 1),,,xlwhole).address
  3. Sheets("Sheet6").Range("A10").Value = range(A).Offset(0, -37)
  4. End Sub
½Æ»s¥N½X
max¥u¯à¨ú³Ì¤j¡Alarge¯à¿ï¾Ü­n²Ä´X¤j¡A®t§O¦b³o

TOP

¦^´_  t8899 max¥u¯à¨ú³Ì¤j¡Alarge¯à¿ï¾Ü­n²Ä´X¤j¡A®t§O¦b³o
owen06 µoªí©ó 2014-3-20 09:39

large §Y¤w¥]§tmax  , ´NµL¶·max °Ú

TOP

¦^´_ 7# t8899


¬O³o»ò»¡¨S¿ù°Õ¡A   
¦ý¦pªG§A¥u¬O­n³Ì¤j­È¡A´N¥i¥Hª½±µ¥ÎMAX¡A¤½¦¡¤ñ¸û²µu¤@ÂI¡A
MAX(RANGE)
LARGE(RANGE,1)
®¦¡A¯uªº¥u¦³¤@ÂI¡K

TOP

¦^´_  t8899 max¥u¯à¨ú³Ì¤j¡Alarge¯à¿ï¾Ü­n²Ä´X¤j¡A®t§O¦b³o
owen06 µoªí©ó 2014-3-20 09:39

­è¸Õ¤F¤@¤U¡A¨S¦³³]©wª«¥óÅܼÆ??

TOP

¦^´_ 9# t8899
°ÝÃD´N¥u¬O¨S¦³¨Ï¥ÎSet³]¸mÅܼƬ°ª«¥ó
MAX»PLARGE¨ç¼Æ§A³ßÅw¥Î­þ­Ó¨SÃö«Y°Õ
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

        ÀR«ä¦Û¦b : °µ¸Ó°µªº¨Æ¬O´¼¼z¡A°µ¤£¸Ó°µªº¨Æ¬O·Mè¡C
ªð¦^¦Cªí ¤W¤@¥DÃD