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

¬Æ»òµ{§Ç»Ý­n¦b§@¥Î¤u§@µøµ¡¦b¤~¥i¥H¶i¦æ

¬Æ»òµ{§Ç»Ý­n¦b§@¥Î¤u§@µøµ¡¦b¤~¥i¥H¶i¦æ

½Ð°Ý¦p¦ó¤À§O¬Æ»òµ{§Ç»Ý­n¦b§@¥Î¤u§@µøµ¡¦b¤~¥i¥H¶i¦æ°Ê§@
¨Ò¦p,  §@¥Îµøµ¡¬Osheet1 , copy sheet2ªº¸ê®Æ©¹sheet3 ®É, ¥i¥H¥[¤W¸ê®Æ¦ì¸m,  
Sheets("sheet1").Range("a1:b2").Copy Sheets("sheet3").Range("a1")
¦ý·í·Q°µsorting ®É, ´N­n¥²»Ý¬O§@¥Îµøµ¡¥ý°µ¨ì
½Ð«ü±Ð

¦^´_ 1# enoch
¥i¦b§@¥Î¤¤ªº¤u§@ªíµøµ¡Sheet3 ¤¤ °µSheet1ªºRange("A1:C14") AÄæ°µ±Æ§Ç
  1. Sub Ex()   
  2.    Sheet3.Activate   
  3.    With Sheet1
  4.         .Range("A1:C14").Sort Key1:=.Range("A2"), Order1:=xlAscending, Header:= _
  5.         xlGuess, OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom, _
  6.         SortMethod:=xlStroke, DataOption1:=xlSortNormal
  7.     End With
  8.     '¤W¤Uªºµ{¦¡½X¬O¬Û¦Pªº®ÄªG
  9.     '    Sheet1.Range("A1:C14").Sort Key1:=Sheet1.Range("A2"), Order1:=xlAscending, Header:= _
  10.         xlGuess, OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom, _
  11.         SortMethod:=xlStroke, DataOption1:=xlSortNormal   
  12. End Sub
½Æ»s¥N½X

TOP

°£«Dµ{§Ç¶·­n¤¤Â_µ¥«Ý¤H¤u¿ï¨úÀx¦s®æ©Î¨ä¥Lªº¤H¤u¾Þ§@¡A§_«h¤£¶·­n¦b§@¥Îµøµ¡°õ¦æ¡C
°µsorting ®É¤]¤@¼Ë¡C

TOP

¦hÁ«ü±Ð,­ì¨Ó¤@ª½¦bSort Key1: «á­±ªºrange«eº|¤F¥[¤Wsheet1
§Ú¤S¾Ç·|¤F

TOP

ÁÙ¦³­Ó°ÝÃD,
COPY ½d³ò°µ¤F¿z¿ï°Ê§@, µM«á·Q±N¸ê®ÆCOPY¨ì¥t¤@­ÓÀÉ®×"exfile"ªº¤u§@ªí¤º,
½Ð°Ý¥i¥HÂI­×§ï¦Ó¤£»Ý­n¥ýÂà¥h¥t¤@ÀɮצӪ½±µcopy©O?

¦]²{®É¥uÃѥΥH¤U¤èªk
Range("a5:aj2500").Copy
Workbooks("exfile.xls").Worksheets("Sheet1").Activate
ActiveSheet.Paste Range("a1")

TOP

¦^´_ 5# enoch

Range("a5:aj2500").Copy Workbooks("¤é³øªí-1.xls").Worksheets("Sheet1").Range("a1")
¤é³øªí-1.xls ­n¥ý¶}±Ò

TOP

        ÀR«ä¦Û¦b : ¡i¥Í©R¦b©I§l¶¡¡j¦òªû»¡¡G¡u¥Í©R¦b©I§l¶¡¡C¡v¤HµLªkºÞ¦í¦Û¤vªº¥Í©R¡A§óµLªk¾×¦í¦º´Á¡AÅý¦Û¤v¥Ã¦í¤H¶¡¡C¬JµM¥Í©R¥h¨Ó³o»òµL±`¡A§Ú­Ì§óÀ³¸Ó¦n¦n¦a·R±¤¥¦¡B§Q¥Î¥¦¡B¥R¹ê¥¦¡AÅý³oµL±`¡BÄ_¶Qªº¥Í©R¡A´²µo¥¦¯uµ½¬üªº¥ú½÷¡A¬M·Ó¥X¥Í©R¯u¥¿ªº»ù­È¡C
ªð¦^¦Cªí ¤W¤@¥DÃD