I need to know what the selected item in a combobox is, but after selecting the item, the user fills other fields so, I cannot use combo1.seltext. What can I do?
Printable View
I need to know what the selected item in a combobox is, but after selecting the item, the user fills other fields so, I cannot use combo1.seltext. What can I do?
Combo1.List(Combo1.ListIndex)
You can use something like this:
as long as multiselect isn't on. otherwise you'd have to loop checking for the .selected() property.VB Code:
Combo1.List(combo1.listindex)
Thank you both (you've been answering all my questions today :) )
There is no multiselect property with a combo box.Quote:
Originally Posted by dglienna
Oops. I was thinking of a ListBox. Thanks.