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

½Ð°ª¤â«üÂI°g¬z

½Ð°ª¤â«üÂI°g¬z

Sub test()
  Dim i As Integer
    For i = 1 To 10
      Sheet1.Cells(65536, 1 + (i * 5)).End(xlUp).Offset(1, 0).Value = 1
     Next
End Sub


¬°¤°»ò³o¼Ë¤£¯à¶]
½Ð°ª¤â½ç±Ð

¬¡­¶Ã¯1.rar (11.33 KB)

¥N½X¥i¥H¶]¡A¥i¯à¬O»P§Aªº·N¹Ï¤£²Å§a¡I

TOP

§Ú¶]°_¨Ó¬O¼g °õ¦æ¶¥¬q¿ù»~ 424

§Ú¬O2010 X86ªº

TOP

§ä¨ì°ÝÃD¤F.. sheet1
¹w³]¬O ¤u§@ªí1 §ï¦¨sheet1 ´N¦n¤F
·PÁÂÀ°¦£´ú¸Õ
¦b½Ð±Ð¤@­Ó°ÝÃD ¦pªG§Ú­n§â ¨C¤@­Ó 1 ªº¦r«¬ÃC¦â§ïÅÜ­n«ç»ò¼g?

TOP

  1. Dim i As Integer
  2.     For i = 1 To 10
  3.         With Sheet1.Cells(65536, 1 + (i * 5)).End(xlUp).Offset(1, 0)
  4.             .Value = 1
  5.             .Font.ColorIndex = 3
  6.         End With
  7.     Next
½Æ»s¥N½X

TOP

§ä¨ì°ÝÃD¤F.. sheet1
¹w³]¬O ¤u§@ªí1 §ï¦¨sheet1 ´N¦n¤F
seemee µoªí©ó 2013/4/10 22:25
  1. Sheets("Sheet1").Cells(65536, 1 + (i * 5)).End(xlUp).Offset(1, 0).Value = 1
½Æ»s¥N½X
·P®¦ªº¤ß......(¦b³Â»¶®a±Ú°Q½×°Ï.¥Î¤ß¾Ç²ß·|¦³¶i¨Bªº)
¦ý¸ê·½µL­­,«á´©¦³­­,  ¤@¤Ñ1¤¸ªºÃÙ§U,¤H¤H¦³¯à¤O.

TOP

        ÀR«ä¦Û¦b : ¡i¬O§_µo´§¤F¨}¯à¡H¡j¤H¶¡¹Ø©R¦]¬°µu¼È¡A¤~§óÅã±o¬Ã¶Q¡CÃø±o¨Ó¤@½ë¤H¶¡¡AÀ³°Ý¬O§_¬°¤H¶¡µo´§¤F¦Û¤vªº¨}¯à¡A¦Ó¤£­n¤@¨ý¨Dªø¹Ø¡C
ªð¦^¦Cªí ¤W¤@¥DÃD