can someone help me im trying to use the Or statement in a project
i have a checkbox which gets checked when i click a label then i want to see if when a cmd button is clicked weather the outcome is in the fist 10 numbers or the second. bit like a roulette table
the code i have which isnt working(that i need help on) is this
now when i try to use this code it comes up in red telling me its not gonna work. why?Code:Private Sub lblEndResult_Change() if Check1(0).Value = 1 then if lblEndResult.Caption >0 Or <10 then MsgBox "Number is Less Than 10",vbOkOnly, "Less Than 10" end if end if End Sub
can i not use the Or statement here.




Reply With Quote