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