?
Solved

VB.net Ribbon ComboBox get selected index

Posted on 2013-01-20
3
Medium Priority
?
1,204 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Introduction When many people think of the WebBrowser (http://msdn.microsoft.com/en-us/library/2te2y1x6%28v=VS.85%29.aspx) control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
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.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

764 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