Question : Validation List VBA - Item index?

Hi,

How do I find out the item index of the item selected in a validation list via VBA?

Thanks.,

Answer : Validation List VBA - Item index?

If your list has duplicate entries, does the user care that he is selecting one vs. the other?  In other words, would it be so bad if you simply retrieved the index of the first occurrence of the value selected?  

I do not believe that there is a direct way to get the index of the selection - only a match/lookup function will do it - so you are screwed if the duplicates really are identical.  You'll have to switch to a control that returns an index.
Random Solutions  
 
programming4us programming4us