Hello there! I am working on a small prog where the prog looks at the value of a label caption.
What I would like it to do, is if the statement is true show a msgbox, but I can't figure out how to code 0-100.
I have Val(PointCountLBL(0).Caption) <= 100 which lets it work when numbers are below 100, but I would like it to be equal to 0 or above 0,
Is there a way to make an if statement like this?
if Val(PointCountLBL(0).Caption) <= 100 and >=0 then
msgbox "hi"
end if
??
Thanks a lot!!
What I would like it to do, is if the statement is true show a msgbox, but I can't figure out how to code 0-100.
I have Val(PointCountLBL(0).Caption) <= 100 which lets it work when numbers are below 100, but I would like it to be equal to 0 or above 0,
Is there a way to make an if statement like this?
if Val(PointCountLBL(0).Caption) <= 100 and >=0 then
msgbox "hi"
end if
??
Thanks a lot!!