BrianExcel
Well-known Member
- Joined
- Apr 21, 2010
- Messages
- 975
I have a custom Ribbon tab that contains a ComboBox. I used CustomUI editor to create it. And the ribbon control populates and works fine within Excel.
I am now trying to obtain the item selected, essentially so I can run a "select case" on that value and run different codes depending what is selected.
I suppose if you were to do this to a ComboBox within VBA, it would be similar to obtaining the ComboBox.Value.
I have found some code online for the ComboBox that will return the index #, but I prefer to use the name string.
Any thoughts how I could get this to work?
I am now trying to obtain the item selected, essentially so I can run a "select case" on that value and run different codes depending what is selected.
I suppose if you were to do this to a ComboBox within VBA, it would be similar to obtaining the ComboBox.Value.
I have found some code online for the ComboBox that will return the index #, but I prefer to use the name string.
Any thoughts how I could get this to work?