If I wanted to test if the NUMBER in a textbox is greater than 50, which of the following is correct/accurate, or are they the same?
If Val(TextBox5) > 50 Then....
or
If TextBox5.Value > 50 Then ...
If neither are correct to evaluate a NUMBER in a textbox, then what is correct. thanks
If Val(TextBox5) > 50 Then....
or
If TextBox5.Value > 50 Then ...
If neither are correct to evaluate a NUMBER in a textbox, then what is correct. thanks