johnfrench
New member
- Joined
- Aug 14, 2007
- Messages
- 2
- Programming Experience
- 1-3
Hello,
I have a list box.
I want to be able to say if value 6 or 10 is selected, PLUS one or more of any other value then report an error.
I have so far If lbxBuyingAgencies.Items.FindByValue("6").Selected = True Or lbxBuyingAgencies.Items.FindByValue("10").Selected = True Then
however, how do i say "if any other value is selected aswell"
does any body know a neat way of doing this?
thanks for your help
I have a list box.
I want to be able to say if value 6 or 10 is selected, PLUS one or more of any other value then report an error.
I have so far If lbxBuyingAgencies.Items.FindByValue("6").Selected = True Or lbxBuyingAgencies.Items.FindByValue("10").Selected = True Then
however, how do i say "if any other value is selected aswell"
does any body know a neat way of doing this?
thanks for your help