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

[µo°Ý] (¤w¸Ñ¨M)Àx¦s®æ¿ï¨ú¦³ÂI¹³shift®ÄªG«ç»ò°µ¡H

[µo°Ý] (¤w¸Ñ¨M)Àx¦s®æ¿ï¨ú¦³ÂI¹³shift®ÄªG«ç»ò°µ¡H

¥»©«³Ì«á¥Ñ freeffly ©ó 2012-4-23 14:37 ½s¿è

§Ú·Q°µ¤@­Ó°Ê§@´N¬O¿ï¨úÀx¦s®æ©Ò¦bªº°Ï°ì
¦pªG¨Ï¥ÎCurrentRegion·|¿ï¨ú¨ì©Ò¦³¸ê®Æ

­ì¥»§Ú·Q¥Îactivecell¦V¥ªend(xltoleft)¦A¦V¤U¡]xldown)ªº¤è¦¡
¿ï¨ú©Ò¦b¸ê®Æ¨º´X¦C
¦pactivecell¬°range("N7")®É§Ú·Q¿ïrow("7:9")³o¤T¦C¸ê®Æ
³o¼Ë­n«ç»ò¼g¡H

Book1.rar (5.16 KB)
¦r¨å¨â¦U¦r ÁÙ¯uÃø²z¸Ñ

¥»©«³Ì«á¥Ñ freeffly ©ó 2012-4-23 14:39 ½s¿è

§Ë¤F¦n¤[
Rows(n & ":" & x).Select  ¤èªk¤@
Range(Cells(n, 1), Cells(x, 1)).EntireRow.Select ¤èªk¤G
­ì¨Ó¬O­n³o¼Ë¼g
¤£¹L¤£ª¾¹D¦³¨S¦³¤ñ¸û¦nªº¤è¦¡
  1. Sub Macro5()
  2.     n = ActiveCell.End(xlToLeft).Row
  3.     x = ActiveCell.End(xlToLeft).End(xlDown).Row
  4.     Rows(n & ":" & x).Select
  5. End Sub
½Æ»s¥N½X
¦r¨å¨â¦U¦r ÁÙ¯uÃø²z¸Ñ

TOP

Range(ActiveCell, ActiveCell.End(4)).EntireRow.Select

TOP

¦^´_ 3# oobird

    ÁÂÁª©¥D
    ¬Û·í²¼ä
   end()¸Ì­±ªº¼Æ¦r¬O¤À§O¥Nªíxlup³o¨Ç¡A¥Ñ1¶}©l½s¶Ü?
¦r¨å¨â¦U¦r ÁÙ¯uÃø²z¸Ñ

TOP

        ÀR«ä¦Û¦b : §Ú­Ì­n°µ¦nªÀ·|ªºÀô«O¡A¤]­n°µ¦n¤º¤ßªºÀô«O¡C
ªð¦^¦Cªí ¤W¤@¥DÃD