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

vba¦Û°Ê±Æ§Ç

vba¦Û°Ê±Æ§Ç

¥»©«³Ì«á¥Ñ Siobhan.B ©ó 2011-4-21 10:50 ½s¿è

§A­Ì¦n,

¦]¬°§Ú¸Õ¹Ï·Q­n¥Î¦Û°Ê±Æ§Ç§â¤Ø¤o¦Û°Ê±Æ¦n,
±qºô¸ô¤W§ä¨ì¦³¤H¦³°µÃþ¦üªºªí®æ,
¦ý§Ú¤@°Êªí®æ, §â¥¦§ï¦¨§Ú©Ò»Ý­nªº®æ¦¡«á, ´N¤£°Ê¤F,
§Ú¤]¤£ª¾¹D­þ¸Ì¥X¤F¿ù,  ¬O§_¯à½Ð°ª¤âÀ°À°¦£,
À°§Ú§ï¤@¤U?  ·P¿E¤£ºÉ!


------------------------------------------------------------------------------------
¦A®e§Ú¸É¥R¤@¤U, §Ú¬O·Q­n¦³excelªº¨ººØ»¼¼Wªº®ÄªG, ªø¼e°ª·|¤@°_°Ê, ¦Ó¤£¬O³æ¶µ»¼¼W, ¦Ó¥ó¼Æ¤]­n¸òµÛ¨ä¾÷«¬¤@°_°Ê, ³Â·Ð¤j®a¤F!

¦Û°Ê±Æ§Ç.rar (11.26 KB)

¥»©«³Ì«á¥Ñ hugh0620 ©ó 2011-4-21 12:11 ½s¿è

¦^´_ 1# Siobhan.B


      ÁÙ¬O¤£¤F¸Ñ~ ¼Ó¥D§A­nªº»Ý¨D¬O¤°»ò­C???
      ¬O¥u­n¦Û°Ê±Æ§Ç´N¦n?ÁÙ¬O¦³¨ä¥L¯S§O»Ý¨D~
      ­Y¬O¥u¦³¦Û°Ê±Æ§Çªº¸Ü~ ¥u­n±N¸ê®Æ½d³ò³]©w¦n ¦A¨Ì±Æ§Ç±ø¥ó³]¦n~ ´N¨S°ÝÃD~
      ¤U¦C¬O¨Ï¥Î¿ý»s¥¨¶°ªº¤è¦¡

Sub Macro2()
    Range("A2").End(xlToRight).End(xlDown).Select      '¸ê®Æ½d³ò
   '=========¦Û°Ê±Æ§Ç(¨Ìªø/¼e¬°±ø¥ó»¼¼W)=============
    Selection.Sort Key1:=Range("b3"), Order1:=xlAscending, Key2:=Range("c3") _
        , Order2:=xlDescending, Header:=xlGuess, OrderCustom:=1, MatchCase:= _
        False, Orientation:=xlTopToBottom, SortMethod:=xlPinYin, DataOption1:= _
        xlSortNormal, DataOption2:=xlSortNormal
   '=========¦Û°Ê±Æ§Ç(¨Ìªø/¼e¬°±ø¥ó»¼¼W)=============

End Sub
¾Ç²ß¤~¯à´£¤É¦Û¤v

TOP

¦^´_ 2# hugh0620


·PÁ±zªº¦^ÂÐ
¤£¦n·N«ä, §Úªí¹Fªº¤£¦n

§Ú·Q­nªº¦Û°Ê±Æ§Ç¬O~
°²¦p§Ú¤µ¤Ñ¤@¦¸¶K¤J 50ºØ¾÷«¬, ¤£¦P¤Ø¤o, ¤£¦P¥ó¼Æ
¬O¤£¬O¥i¥H°µ¨ì¦Û°Ê«ö ªø¼e°ª ¨Ó»¼¼W±Æ§Ç¦n~

§Ú´N¤£¥Î¦A¥h¤â°Ê¦bexcel«ö±Æ§Ç¤F?

¦Û°Ê±Æ§Ç.rar (11.07 KB)

TOP

¦^´_ 3# Siobhan.B

     ¤U­zµ{¦¡½X¬° ¨Ìªø¼e°ªªº¶¶§Ç±ø¥ó~ »¼¼W  (¨Ï¥Î¿ý»s¥¨¶°§¹¦¨«á,½Õ¾ãªºµ²ªG)

    Sub Macro1()
    Range("A2").End(xlToRight).End(xlDown).Sort Key1:=Range("B3"), Order1:=xlAscending, Key2:=Range("C3") _
        , Order2:=xlAscending, Key3:=Range("D3"), Order3:=xlAscending, Header:= _
        xlGuess, OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom, _
        SortMethod:=xlPinYin, DataOption1:=xlSortNormal, DataOption2:= _
        xlSortNormal, DataOption3:=xlSortNormal

End Sub
¾Ç²ß¤~¯à´£¤É¦Û¤v

TOP

¦^´_ 4# hugh0620


  
¥i¥H¤F¡C  
«D±`·PÁ§Aªá®É¶¡¬Ý§Úªº°ÝÃD©M¸Ñ¨M§Úªº°ÝÃD,  ¦A¦¸ÁÂÁÂ!

TOP

¦^´_ 5# Siobhan.B

    µ¹±z¤@­Ó¤p¤p«Øij­ò~ ¥u­n¬O¤@¯ë¦bexcelªí¤¤¥i¥H¾Þ§@ªº¤èªk~ ³£¥i¥H¥h§Q¥Î¿ý»s¥¨¶°ªº¤è¦¡~ ¨Ó§¹¦¨
   ¿ý»s¥¨¶°
   1. ÂI¿ï[¿ý»s¥¨¶°]
   2. ±N§Aªº»Ý¨D¶}©l±qÀY¾Þ§@¤@¦¸
   3. °±¤î¿ý»s
   4. ¥hVBE¬Ý§Aªº¿ý»s¤U¨Óªºµ{¦¡º¿,«ö[F8]¤@¦æ¤@¦æ°õ¦æ

   §Q¥Î¤W­zªº¨BÆJ~ ¥i¥H¤F¸Ñ§A©Ò¾Þ§@ªº¹Lµ{
¾Ç²ß¤~¯à´£¤É¦Û¤v

TOP

¦boffice»â°ì¤¤ÁÙ¬O·|¦³³\¦h¾Þ§@µLªk¿ý»s¥¨¶°ªº
¤@­Ó²³æªº¨Ò¤l
§A¥i¹Á¸Õ¦b¤u§@ªí¤W·j´M¥]§t¬Y­Ó¦r²ÅªºÀx¦s®æ
·j´M«á§â³o¨Ç§ä¨ìªºÀx¦s®æªº¦r«¬¥þ³¡§ï¬°¬õ¦â
§A·|µo²{¾Þ§@«Ü¤è«K¡A¦ý´N¬O¿ý¤£°_¨Ó¡C

TOP

        ÀR«ä¦Û¦b : ¤@­Ó¤Hªº§Ö¼Ö¡D¤£¬O¦]¬°¥L¾Ö¦³±o¦h¡A¦Ó¬O¦]¬°¥L­p¸û±o¤Ö¡C
ªð¦^¦Cªí ¤W¤@¥DÃD