Private Sub Text2_Change()
x = Val(Text2.Text)
Select Case x
Case Is <= 50
Label64.Caption = 5
Case Is > 40, Is < 50
Label64.Caption = 4
Case Is >= 30, Is < 40
Label64.Caption = 3
Case Is >= 20, Is < 30
Label64.Caption = 2
Case Is > 0, Is < 20
Label64.Caption = 0
End Select
End Sub
我在text2中输入小于40的数时 label64中显示的一直是5
输入大于40的数是显示的一直是4
求各位大神指点,是哪里出了问题?该怎么改?