?
Solved

VB.net Ribbon ComboBox get selected index

Posted on 2013-01-20
3
Medium Priority
?
1,223 Views
Last Modified: 2013-01-24
Hi

What VB.net code do I use to get the selected index of a Excel Ribbon ComboBox
0
Comment
Question by:Murray Brown
3 Comments
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 38800690
.SelectedIndex does not work?
0
 
LVL 36

Accepted Solution

by:
Miguel Oz earned 2000 total points
ID: 38803163
For a ribbon combo box:
1) Access index:
 ddSaveAs.SelectedItemIndex
2) Access item contents:
ddSaveAs.SelectedItem.Label

where ddSaveAs is your ribbon dropdown.
0
 

Author Closing Comment

by:Murray Brown
ID: 38815861
Thanks very much
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question