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

¦p¦ó´M§ä¦P¤@Äæ¤U¤@­ÓÀx¦s®æ¦³¸ê®Æ¦ì¸m

¦p¦ó´M§ä¦P¤@Äæ¤U¤@­ÓÀx¦s®æ¦³¸ê®Æ¦ì¸m

¨Ò¦p¦bA1 , A5, A6, A10 ³£¦³¸ê®Æ
­Y¦bA1¶}©l, ¦p¦ó½T©w¤U¤@­Ó¦³¸ê®ÆÀx¦s®æ¬OA5
¦A¤U¤@­Ó¬OA6¤ÎA10

½Ð«ü±Ð

§A¥u¬O­n¬Ýa1 ¡ã a10ªºÀx¦s®æ¸Ì¬O§_¤£¬OªÅ¥Õ¬O¶Ü¡H¦pªG¬Oªº¸Ü¥H¤UÀ³¸Ó¥i¥H°Ñ¦Ò¡ã

for address =1 to 10
if range("a" & address)="" then
........

next address

TOP

¥»©«³Ì«á¥Ñ stillfish00 ©ó 2013-10-15 16:04 ½s¿è
  1. Sub TEST()
  2.   Dim a
  3.   
  4.   For Each a In [A:A].SpecialCells(xlCellTypeConstants, 23)
  5.     Debug.Print a.Address(0, 0)
  6.   Next
  7. End Sub
½Æ»s¥N½X
¦^´_ 1# enoch

TOP

¦^´_ 3# stillfish00
¼Ó¥D·|¬O­n³o¼Ë¶Ü?
  1. Option Explicit
  2. Sub TEST()
  3.   Dim a
  4.   For Each a In Range("A:A").SpecialCells(xlCellTypeConstants).Areas
  5.     a.Select
  6.   Next
  7. End Sub
½Æ»s¥N½X
·P®¦ªº¤ß......(¦b³Â»¶®a±Ú°Q½×°Ï.¥Î¤ß¾Ç²ß·|¦³¶i¨Bªº)
¦ý¸ê·½µL­­,«á´©¦³­­,  ¤@¤Ñ1¤¸ªºÃÙ§U,¤H¤H¦³¯à¤O.

TOP

¬O­n³oµª®×, ¤S¾Ç¦h¤F¤@¼Ë, ÁÂÁÂ

TOP

µo²{¦³°ÝÃD¥X²{,
¦]¬°µ{¦¡¤¤·Q³v¤@ª¾¹D¦UÀx¦s®æ¥X²{ªº¦æ¼Æ¦ì¸m
¦ý·íÀx¦s®æ¬O³sÄò®É, ¦pA5:A7 ³£¦³¸ê®Æ
¥uª¾¹D²Ä¤@¦æ¦ì¸mA5 , ¸õ¹L¤F²Ä6¦P7¦æ,
¥i¥H¸Ñ¨M³o°ÝÃD¶Ü?
½Ð«ü±Ð

TOP

Ä@¨Ó¤£­n Area ´N¥i¥H
For Each a In Range("A:A").SpecialCells(xlCellTypeConstants)

TOP

¦^´_ 6# enoch
  1. Option Explicit
  2. Sub TEST()
  3.   Dim a
  4.   For Each a In Range("A:A").SpecialCells(xlCellTypeConstants).Areas
  5.     a.Cells(1).Select
  6.   Next
  7. End Sub
½Æ»s¥N½X
·P®¦ªº¤ß......(¦b³Â»¶®a±Ú°Q½×°Ï.¥Î¤ß¾Ç²ß·|¦³¶i¨Bªº)
¦ý¸ê·½µL­­,«á´©¦³­­,  ¤@¤Ñ1¤¸ªºÃÙ§U,¤H¤H¦³¯à¤O.

TOP

        ÀR«ä¦Û¦b : ¦³®É·í«äµL®É­W¡A¦n¤Ñ­n¿n«B¨Ó³¡C
ªð¦^¦Cªí ¤W¤@¥DÃD