What would be the correct way to word the line of code I'm working with below? I get a compile error with the second > symbol. Thank you.
If txt1 > 0 and Not > 6000 Then
Printable View
What would be the correct way to word the line of code I'm working with below? I get a compile error with the second > symbol. Thank you.
If txt1 > 0 and Not > 6000 Then
do greater and less then, instead of not greater... its the same logic.Code:if (val(txt1.text) > 0 and val(txt1.text) <= 6000) then ' if greater then 0 and is 6000 or less.
'code here
end if
Thank you, dont know what I was thinking.
by the way, welcome to the forums. :wave:
please mark your thread as resolved when your question has been answered :)
above the first post, go to thread tools> mark thread resolved.
Will do, thanks for telling me how to mark as resolved I gotta make sure my last thread got marked that way.