Ok, I want to add 12 to all numbers from 1 To 11 that added to the combobox.
I can only do it one at a time like this....
There has to be a way to do it with one If..Then Statement.VB Code:
If cboHours2.Text = 5 Then Dim intNumber As Integer MsgBox Val(cboHours2.Text) + 12 End If
please help
![]()




Reply With Quote