hi can someone help me with a simple code, i am trying to write a code that says if textbox1 is equal to 0 between 10 then HandDecimal = 1 else if textbox1 is equal to 10.1 through 100 then HandDecimal = 3 else if texbox1 is equal to 100.1 and grater than HandDecimal = 5
here is the code i put, but it does not work for me.
If WeightDecimal = 0 <= 10 Then
HandDecimal = 1
ElseIf WeightTextBox.Text = 10 <= 100 Then
HandDecimal = 3
ElseIf WeightTextBox.Text >= 100.1 Then
HandDecimal = 5
End If
thanks for your answers.