i have got code:
Dim numbers(99) As String Dim howmany As String Private Sub Command1_Click() howmany = InputBox("how many number you want input?") For x = 1 To howmany numbers(x) = InputBox("Enter a number") Next x FontSize = 14 For y = 1 To howmany Print numbers(y) Next y End Sub Private Sub Command2_Click() For x = 1 To howmany Set total = total + numbers(x) Print total Next x End Sub
and now i would like to add total numbers printed after clicking Command2_click button, can someone help me?
I would like to print or display answer in msgbox