[VBA ] Excel的新手笨蛋問題

看板Visual_Basic作者 (走路男人~)時間19年前 (2005/09/27 16:30), 編輯推噓2(205)
留言7則, 2人參與, 最新討論串1/1
我現在先使用自動填滿把A1到A16分填上1~16 然後我現在希望用迴圈(非COPY) 將他重複動作到E16 變成A1~E16都成為: 1 .1 .1 .1 .1 2 .2 .2 .2 .2 3 .3 .3 .3 .3 . . . . . . . . . . 16.16.16.16.16 要怎麼寫出阿?? 麻煩大大了= =a -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.128.142.103

10/02 19:22, , 1F
For i = 1 To 16
10/02 19:22, 1F

10/02 19:22, , 2F
For j = 1 To 16
10/02 19:22, 2F

10/02 19:23, , 3F
Worksheets("Sheet1").Cells(i, j).Valu
10/02 19:23, 3F

10/02 19:23, , 4F
e = i
10/02 19:23, 4F

10/02 19:24, , 5F
Next j
10/02 19:24, 5F

10/02 19:24, , 6F
Next i
10/02 19:24, 6F

10/03 00:00, , 7F
謝謝你^^
10/03 00:00, 7F
文章代碼(AID): #13EGC8kf (Visual_Basic)
文章代碼(AID): #13EGC8kf (Visual_Basic)