excel macro to create multiplication table excel vba program to create multiplication table for any number
Program-This creates table of a number upto 10.
Sub Button4_Click()
Dim num, i As Integer
num = InputBox("Enter a number whose multiplication table is to be found out")
For i = 1 To 10
Cells(i, 1).Value = num * i
Next i
End Sub
Comment below if you want code to create table upto any number.
Sub Button4_Click()
Dim num, i As Integer
num = InputBox("Enter a number whose multiplication table is to be found out")
For i = 1 To 10
Cells(i, 1).Value = num * i
Next i
End Sub
Comment below if you want code to create table upto any number.
2 Comments:
Its Not working
It's not working
Post a Comment
Subscribe to Post Comments [Atom]
<< Home