Solved

VB.net Ribbon ComboBox get selected index

Posted on 2013-01-20
3
1,176 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
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…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

829 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