VB.net Ribbon ComboBox get selected index

Hi

What VB.net code do I use to get the selected index of a Excel Ribbon ComboBox
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAsked:
Who is Participating?
 
Miguel OzConnect With a Mentor Software EngineerCommented:
For a ribbon combo box:
1) Access index:
 ddSaveAs.SelectedItemIndex
2) Access item contents:
ddSaveAs.SelectedItem.Label

where ddSaveAs is your ribbon dropdown.
0
 
CodeCruiserCommented:
.SelectedIndex does not work?
0
 
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAuthor Commented:
Thanks very much
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.