Very strange, if TextBoxA.Value = "999" and TextBoxB.Value="2000", it can meet the condition.![]()
If TextBoxA.Value > TextBoxB.Value Then End If
Is it because the program treat it as string, not number? How to convert them to numbers?
Thanks.
Very strange, if TextBoxA.Value = "999" and TextBoxB.Value="2000", it can meet the condition.![]()
If TextBoxA.Value > TextBoxB.Value Then End If
Is it because the program treat it as string, not number? How to convert them to numbers?
Thanks.
You can use VAL function in this way
![]()
If Val(TextBoxA)> Va(TextBoxB) Then End If
< ----- Please click the little star * next to add reputation if my post helps you
Visit Forum : From Here
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks