Hi All
I hope you can assist me with a case that is giving me challenges. I have a combobox with the following selections . . .
ReasonList.Add("Please select")
ReasonList.Add("Delivery")
ReasonList.Add("Collection")
ReasonList.Add("Meeting")
ReasonList.Add("Just visiting")
cmbReason.SetItems(ReasonList)
Now I want to be able to do something based on the selection using the Select statement...
Select Case True
Case Selected_Reason = "Delivery"
Log("Delivery selected")
Case Selected_Reason = "Collection"
Log("Collection selected")
Case Selected_Reason = "Meeting"
Log("Meeting selected")
Case Selected_Reason = "Just Visiting"
Log("Just Visiting selected")
End Select
Now when I select Delivery, Collection or Meeting, I can see the proper message on the log. However, when I select "Just visiting", the log does not show... Is it because it's 2 words? Even when I move the Selection list around and put "Just visiting" on top, same result.
How can I solve this?
Thanks