Originally posted by nym11
Code:
Private Sub Command1_Click() If Text1.Text <> "" Then If Text1.Text >= "1" And Text1.Text <= "10" Then MsgBox "Textbox has more than null value", vbInformation, "Info" Else MsgBox "Value has to be between or equal to 1 and 10.", vbInformation, "Info" End If Else MsgBox "You need to input a value", vbCritical, "Error" End If End Sub
kind Regards
Devon.
Comment