Looping



Private Sub CommandButton1_Click()
Dim i, j As Integer
For i = 1 To 10
For j = 1 To 5
Cells(i, j).Value = i + j
Next j
Next i
End Sub

Comments

Popular posts from this blog

50 Excel VBA Oral Interview Questions