Listbox value

david123

Registered User.
Local time
Today, 01:21
Joined
Feb 17, 2009
Messages
18
Hello,
How can I check if no items in a listbox have been checked?

Thanks,
David
 
If Me.lstRoutes.ItemsSelected.Count = 0
 
Hello,
How can I check if no items in a listbox have been checked?

Thanks,
David

You have to loop through all items and determine if any of them have been selected.
 
Whoops - I stand corrected. Thanks Paul :)
 
No problemo! You certainly have to loop a multiselect box to see what was selected, but that should test if anything was selected at all.
 

Users who are viewing this thread

Back
Top Bottom