Alright so I am quite new with programming and with Visual Basic.
I have these codes, and what I need my program to do is to count the number of input of the user. Different inputs so I have the inputbox looping and once the user enters the value "0" that's when the looping will stop and a messagebox would show up showing the number of times the inputbox looped (thus showing the number of data entered)
Dim inputNumber As Integer
Dim i As Integer
For i = 0 To inputNumber
inputNumber = InputBox("Please enter a value")
Do Until inputNumber = "0"
inputNumber = i
i = i + 1
Loop
Next i
MsgBox(i)
So it runs but it won't loop and so the messagebox always shows 1