Probably an easy thing that I am missing, but basically I have 2 textboxes with number inputs and the 1st one cannot be larger than the 2nd one.
This works if the values are like 2 and 3 respectively, but not if the values are 2 and 10, because it only seems to measure against the first digit.
the code at the moment is
This works if the values are like 2 and 3 respectively, but not if the values are 2 and 10, because it only seems to measure against the first digit.
the code at the moment is
Code:
If Not textbox1.Value > textbox2.Value Then
img1.Visible = False
Else
img1.Visible = True
End If