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

¥¨¶°¼gªk?

¥¨¶°¼gªk?

·s¤â¼gVB¦³¿³½ì¬O§_¯à§i¦Ü¤U¦C°ÝÃDÁÂÁÂ!
   Rows("1:7").Select

    ("1:7") ¦pªG¥ÎVB©w¸qÅܼƦp i , j ¨Óªí¥ÜÀ³¦p¦ó¥¨¶°µ{¦¡¦p¦óªí¥Ü?

   Range("A9").Select

    ("A9") ¦pªG¥ÎVBÅܼƦp r  ¨Óªí¥ÜÀ³¦p¦ó¥¨¶°µ{¦¡¦p¦óªí¥Ü?

  1. Sub quest1()
  2. i = [a1].Value
  3. j = [a2].Value
  4. Rows(i & ":" & j).Select
  5. End Sub

  6. Sub quest2()
  7. r = [b1].Value
  8. Range("A" & r).Select
  9. End Sub
½Æ»s¥N½X
¦^´_ 1# lp986749

TOP

¦^´_ 1# lp986749

À³¸Ó¬O¹³³o¼Ë§a

§Ú¤À¨â³¡¤À
test1¬O§A¤W¥b³¡¨º­Ó
test2¬O¤U­±¨º­Ó

°Ñ¦Ò¬Ý¬Ý
  1. Sub test1()

  2.     Dim i As Integer
  3.     Dim j As Integer
  4.    
  5.         i = 1
  6.         j = 7
  7.         
  8.         Rows(i & ":" & j).Select
  9.    
  10. End Sub

  11. Sub test2()

  12.     Dim r As Integer
  13.    
  14.         r = 9
  15.         
  16.         Range("A" & r).Select
  17.         
  18. End Sub
½Æ»s¥N½X
¥Î¥\¨ì¥@¬É¥½¤é¨º¤@¤Ñ¡ã¡ã¡ã

TOP

·PÁ¦p¦¹¸Ô²Ó¸Ñµª§Ú§â¥¦¥Î©ó¤U¤è²×©ó¥i°õ¦æ,¤À¨Éµ¹¨ä¥L¦³»Ý­n·s¤â.ÁÂÁ±z!
Dim C As Integer

       C = 2
      
   For C = 2 To 96 Step 4         
      
     Rows(C + 4 & ":" & C + 6).Select
     Selection.EntireRow.Hidden = True

   Next

====================
Dim H As Integer
       H = 5
   For H = 5 To 100 Step 4         
        
     Range("AV" & H & ":" & "BZ" & H).Select     
     Selection.ClearContents
   Next

TOP

        ÀR«ä¦Û¦b : ­ì½Ì§O¤H´N¬Oµ½«Ý¦Û¤v¡C
ªð¦^¦Cªí ¤W¤@¥DÃD