Hey Everyone,

I would like to validate that the input entered in is greater than 0 or is not blank. The problem that I am having with my code is that it will give the message but will continue on with the program and output the results. I would like for the program to stop and allow the user to correct the input value.

 Sub DataInput()
        err1 = "Please enter a value greater than zero"
        numDays = txtDays.Text
        If numDays <= 0 Or Nothing Then
        End If
    more code here

End Sub