Kind of a stupid question, but I'm too annoyed to go on.
I have been trying to get this to work and for some reason it does not.
I have the following code:
.fieldTest.Value = dblSum
If dblSum <= 1 And >= 10 Then
.LblHello.ForeColor = vbRed
Else
.LblHello.ForeColor = vbBlack
End If
The problem is that VB only allows me to have >= 10, and not <= 1 And >= 10. Does anyone know the easy thing that solves this?
I have been trying to get this to work and for some reason it does not.
I have the following code:
.fieldTest.Value = dblSum
If dblSum <= 1 And >= 10 Then
.LblHello.ForeColor = vbRed
Else
.LblHello.ForeColor = vbBlack
End If
The problem is that VB only allows me to have >= 10, and not <= 1 And >= 10. Does anyone know the easy thing that solves this?