hillo10
asked on
multipul listbox selection
hi, i'm stuck on a listbox event, i need to be able to select 3 listboxs at the same time.
to select 2 at the same time i use..
If List1.Selected(List1.ListI ndex) = True Then
List2.Selected(List1.ListI ndex) = True
ElseIf List1.Selected(List1.ListI ndex) = False Then
List2.Selected(List1.ListI ndex) = False
how would i go about adding a 3rd listbox so that gets selected too?
to select 2 at the same time i use..
If List1.Selected(List1.ListI
List2.Selected(List1.ListI
ElseIf List1.Selected(List1.ListI
List2.Selected(List1.ListI
how would i go about adding a 3rd listbox so that gets selected too?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
The suggestion above works just fine for me!? You need to list the code where you include the 3rd listbox.
Are you putting all of your code on one line? I don't see the end-if which indicates that yours may not be working like mine. Try putting each line on a separate code line without and line continuation markers.
ASKER
i have tried that, and for some reason it doesn't select the 3rd listbox, i know this because i've set it to display in a textbox, yet no joy
ASKER