If TextBoxA.Value > TextBoxB.Value Then

End If
Very strange, if TextBoxA.Value = "999" and TextBoxB.Value="2000", it can meet the condition.

Is it because the program treat it as string, not number? How to convert them to numbers?

Thanks.