林郁恆EXCEL與JavaScript迴圈
輸出
'變數variables應該要宣告 Option Explicit '要求所有變數必須宣告才能完成 Dim i, j As Integer 'Dimension宣告指令 Public Sub 林郁恆() Cells(1, 6).Value = "林郁恆" Cells(1, 6).Font.Color = RGB(0, 0, 256) Cells(1, 6).Font.Bold = True End Sub Public Sub 第一代小野() For i = 1 To 7 For j = 1 To 5 Cells(i, j).Value = i * j Next Next End Sub
留言
張貼留言