MultiSelect in ListBox

  • Thread starter Thread starter Howard
  • Start date Start date
H

Howard

Hi there

I'll be most grateful for some help on how to make
Multiple Selections from a ListBox, really work.

I have a ListBox where I've set the MultiSelect property
to Extended. However, when I make multiple selections
(pressing CTRL and making the selections one at a time,
rather than using SHIFT), only some of the items selected
are acted upon - other selected items deselect themselves
and, are not acted upon.

What can I do to make the ListBox be more efficient?

Thanks
H
 
Multiselect list boxes require some extra code to extract
the information from a MSList box that the user selected.
Basically you have to loop through the list box entries
to determin which entries were selected. There are some
good examples in Access Help about list boxes.
What code are you using?
Please post the code you are using so we can provide more
help.

Cheers,
Henry
 
Thank you for your response, Henry. Please, find below the
code in question.

For Each varLOCATION In lstLOCATION1.ItemsSelected
For Each varTIME In lstTIME1.ItemsSelected
For Each varCURRENCY In lstCURRENCY1.ItemsSelected
'Call procedure using ItemsSelected
Next varCURRENCY
Next varTIME
Next varLOCATION
 
Back
Top