RoccoSiffredi
Technical User
I want the messagebox.show to display an error message if there is no input in a label :
If (txtdays.Text > 100) And (txtdays.Text = "") Then MessageBox.Show("Please enter a value between 1 and 100")
There are no errors in the code but if there is no input in the txtdays label VBE hangs. What am I doing wrong?
If (txtdays.Text > 100) And (txtdays.Text = "") Then MessageBox.Show("Please enter a value between 1 and 100")
There are no errors in the code but if there is no input in the txtdays label VBE hangs. What am I doing wrong?