views:

870

answers:

2

The title is enough i think. I used to code VBA 2 years ago and I suppose I have forgotten lot of stuff. How Do I access the SelectedIndex of a activex combobox object in Excel? I need an integer :(

+1  A: 

I think combo.ListIndex is the property you're looking for...

Ant
Looking for this for more than 4 hours :) what a shame .. Thanks!!!
emre
+3  A: 

The .ListIndex property works if only one item is selected, however, you need to browse the .Selected collection if you allow multiple selections.

RBarryYoung