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

[µo°Ý] ·s¤â½Ð±Ð¬°¦ó§Ú§R°£¦C³£·|¯d¤@¦C

[µo°Ý] ·s¤â½Ð±Ð¬°¦ó§Ú§R°£¦C³£·|¯d¤@¦C

¤p²Ä­è¾ÇVBA ¬Q¤Ñ¾Ç¨ì¥ÎDELETE(3)¥i¥H§R°£¦C´N¾Ç¥Î¦ý³£·|¯d¤@¦CµLªk§R°£§Ú«ü©wªº
Sub xusre()

Dim i As Integer
For i = 2 To 500
If Cells(i, 3).Value = "¥þ¼Æ¤U¬[" Then
    Cells(i, 3).delete (3)

End If
Next i
End Sub
¬°¦ó§Ú°õ¦æ«á³£·|¯d¤@¦æ¨S§R°£ µLªk§R°£¦C.rar (27.95 KB)
§Ú·s¤â¦ý§Ú·|§V¤O¾Ç²ßªº

¤p²Ä­è¾ÇVBA ¬Q¤Ñ¾Ç¨ì¥ÎDELETE(3)¥i¥H§R°£¦C´N¾Ç¥Î¦ý³£·|¯d¤@¦CµLªk§R°£§Ú«ü©wªº
Sub xusre()

Dim i  ...
hu0318s µoªí©ó 2013-9-10 22:37


§RªF¦èªº¸Ü³q±`­Ë¼Æ·|¤ñ¸û¤è«K
  1. Sub xusre()

  2. Dim i As Integer
  3. For i = 500 To 2 Step -1
  4. If Cells(i, 3).Value = "¥þ¼Æ¤U¬[" Then
  5.     Cells(i, 3).delete (3)

  6. End If
  7. Next i
  8. End Sub
½Æ»s¥N½X
À´±oµo°Ý,µª®×´N·|¦b¨ä¤¤

¤µ¤éの¤@¬íは  ©ú¤éにない
http://kimbalko-chi.blogspot.com
http://kimbalko.blogspot.com

TOP

ÁÂÁ¤j¤j ¥i¥H¥Î¨º§Ú¥i¥H½Ð°Ý¤@¤UStep -1¤£¤Ó¤F¸Ñ¥¦ªº¥Î·N

TOP

499 =500-1
step =-1

3=2+1
step =1
ss

TOP

¦^´_ 3# hu0318s
  1. Option Explicit
  2. Sub Ex()
  3.     Dim i As Integer
  4.     For i = 1 To 50      '=>Step 1
  5.         Debug.Print i
  6.     Next
  7.     For i = 1 To 50 Step 5     '¥¿ i ¥Ñ¤p©¹¤j
  8.         Debug.Print i
  9.     Next
  10.     For i = 50 To 1 Step -5    '­t i ¥Ñ¤j©¹¤p
  11.         Debug.Print i
  12.     Next
  13. End Sub
½Æ»s¥N½X
·P®¦ªº¤ß......(¦b³Â»¶®a±Ú°Q½×°Ï.¥Î¤ß¾Ç²ß·|¦³¶i¨Bªº)
¦ý¸ê·½µL­­,«á´©¦³­­,  ¤@¤Ñ1¤¸ªºÃÙ§U,¤H¤H¦³¯à¤O.

TOP

¦^´_ 3# hu0318s


    http://forum.twbts.com/redirect.php?goto=findpost&ptid=10411&pid=58362&fromuid=12328

¦^´_5# G¤jªº·N«ä

§A¥Î°j°éªº®É­Ô¡AStep ´N¬O ¨B¼Æªº·N«ä

°²³]§A±q¤p¨ì¤j ¥H1 TO 10 ¨ÓÁ¿

Step 1 ´N¬O  1  2   3  4 5 6  7 8 9 10  (¨C¦¸¸ó¤@¨B)

Step2  ´N¬O 1  3  5  7  9  (¨C¦¸¸ó¨â¨B)

¨º§A±q¤j¨ì¤p   ¥H10 TO 1

Step -1 ´N¬O 10  9  8   7  6  5  4   3  2   1  

Step -2 ´N¬O 10  8  6  4  2  

³o¼Ë¤l ¤À¸Ñ°Ê§@À³¸Ó¤ñ¸û¤F¸Ñ¡C

TOP

ÁÂÁ¤j®aªº¸ÑÄÀ§Ú¤F¸Ñ©Ô ·R¦º§A­Ì¤j®a©Ô ÁÂÁÂ

TOP

        ÀR«ä¦Û¦b : ¥@¤W¦³¨â¥ó¨Æ¤£¯àµ¥¡G¤@¡B§µ¶¶ ¤G¡B¦æµ½¡C
ªð¦^¦Cªí ¤W¤@¥DÃD