Question : I am trying to get the "Currently" selected item in a multiple selection listbox - how can this be done?

I am trying to get the "Currently" selected item in a multiple selection listbox - how can this be done? Example if I have index item 0 and 2 selected and a user selects Item index # 3 - how can I determine which item the user selected in VBA?

Answer : I am trying to get the "Currently" selected item in a multiple selection listbox - how can this be done?


dim j

with me.list0
       for each j in .itemsselected
             msgbox  .itemdata(j)
       next
end with

Random Solutions  
 
programming4us programming4us