Solved

VB.net Ribbon ComboBox get selected index

Posted on 2013-01-20
3
1,160 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:murbro
3 Comments
 
LVL 83

Expert Comment

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

Accepted Solution

by:
Miguel Oz earned 500 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:murbro
ID: 38815861
Thanks very much
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Changing the Source of an ADO Recordset while it's open 4 37
Create XML 5 46
Access to class from any project within a solution. 6 14
Crystal reports vb.net 2 16
1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

920 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now