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

¤@­Ó±Æ§Ç°ÝÃD

¤@­Ó±Æ§Ç°ÝÃD

½Ð±Ð¤j¤j­Ì, 03ª©¤¤±Æ§Ç¬O«ö»¼¼W»¼¼W´î, ©Î¦Û­q, ¦ý07¦bª©¤¤, ±Æ§Çªº¥\¯à¨Ã¨S¦³¤W­z, ©Î¤p©f¤£µ½©ó¨Ï¥Î, ½Ð¤j¤j±Ð¾É, ÁÂÁÂ!!

¦^´_ 1# 317
´£¨Ñ©p°Ñ¦Ò»P´ú¸Õ¡A±Æ§Ç¹ï¶H¬° ©±¾Q¦WºÙ¡BÃþ§O¡B°Ó«~¦WºÙ¡B¾P°âª÷ÃBµ¥¶¶§Ç¡C
  1. Option Base 1
  2. Option Explicit

  3. ' -------------------------------------------
  4. '    A3 = ªÅ¥ÕÄæ
  5. '    B3 = §Ç¸¹
  6. '    C3 = ©±¾Q¦W¡G  ¤¤¤s°Ï¡B¥j«F°Ï µ¥
  7. ' * D3 = ©±¾Q¦WºÙ  ±Æ§Ç¤è¦¡¡G  (»¼¼W)
  8. ' * E3 = Ãþ§O      ±Æ§Ç¤è¦¡¡G      (»¼¼W)
  9. ' * F3 = °Ó«~¦WºÙ  ±Æ§Ç¤è¦¡¡G  (»¼¼W)
  10. '    G3 = ³æ»ù
  11. '    H3 = ¼Æ¶q
  12. ' * I3 = ¾P°âª÷ÃB  ±Æ§Ç¤è¦¡¡G   (»¼´î)
  13. '    J3 = ³Æµù
  14. ' -------------------------------------------
  15. Sub Sorting_Sample()
  16.     Dim sortKey As Variant
  17.     Dim sortSeq As Variant
  18.     Dim i As Long
  19.    
  20.     sortKey  = Array("D", "E", "F", "I")
  21.     sortSeq = Array("A", "A", "A", "D")
  22.    
  23.     For i = UBound(sortKey ) To 1 Step -1
  24.         Range("B3").CurrentRegion.Sort _
  25.             Key1:=Cells(3, sortKey (i)), _
  26.             Order1:=IIf(sortSeq(i) = "A", _
  27.             xlAscending, xlDescending), _
  28.             Header:=xlYes, Orientation:=xlTopToBottom
  29.     Next i
  30. End Sub
½Æ»s¥N½X

TOP

¦^´_ 2# c_c_lai
ÁÂÁ¦^À³,
¦ý»¡¯u, ¤p©f03¦b¤¤¨Ï¥Î±Æ§Ç, ¦p½s¸¹, ¥Î¤W±Æ§Ç»¼¼W, ¸ê®Æ«K¯à¾ã²z, ¦ý07¤¤, ±Æ§Ç¬O§_¤Ö¤F³o«h, ¬G½Ð±Ð¦U¤j¤j­Ì, ¦ýÁÙ¬O·PÁ¤j¤j¦^À³..ÁÂÁÂ!!

TOP

¦^´_ 3# 317
07ªº¦Û°Ê±Æ§Ç¥\¯à¸ò03¬Û¦P~¨S¦³¯Ê¤Ö
¦b±`¥Î¥k¤W¦³"±Æ§Ç»P¿z¿ï", ¬Ý­n±q¤p¦Ü¤j©Î¥Ñ¤j¦Ü¤por¦Û­q³£¬OOK§C~
¥u¬O¤£¥s°µ»¼¼W¤F~~§A¦A¸Õ¸Õ­ò!

TOP

        ÀR«ä¦Û¦b : ¡i¬°µ½Ävª§¡j¤H¥Í­n¬°µ½Ävª§¡A¤À¬í¥²ª§¡C
ªð¦^¦Cªí ¤W¤@¥DÃD