What's the best way to check if weight are between the range using the If condition? Ex:
If textbox.text (between) value X - value Z then
CodePudding user response:
You can use standard equal operators like this:
If (Val(TextBox.Text) >= ValueX) And (Val(TextBox.Text) <= ValueZ) Then
' etc...
Val function extracts numbers from string.