Private Sub Command4_Click()
Dim i
i = InputBox("Enter a number", "Enter")
If i > 10 Then
MsgBox "Number is less than" + i
End If
End Sub
Hey I want that if the user enters number from 1 to 10 in the textbox(InputBox) msgbox comes on clicking the ok Button that" number is b/w 1 to 10," & else part if the user enters greater than 10, then msgbox shows "Number is greater than 10"
Plz help me out,I m new to the Vb.