Adding existing buttons to Excel 2010 add-In

I have an Add-In I Created for our users here, it works great, installs perfectly, all is good, so far.  I would like to add some existing Excel buttons that don't appear in the ribbons to be on my Add-In ribbon, but I can't see how to do that, unless I write little macros to invoke the command associated with the button and then attach that macro.  Am I missing something?  Can I not add buttons for existing Excel functionality (e.g. Select Visible Cells and Close, etc.) Thanks!
pmpataneAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Steven HarrisPresidentCommented:
File > Options > Customize Ribbon

Popular Commands are displayed at first.  Change dropdown selection to show All Commands.
0
pmpataneAuthor Commented:
It needs to be part of the AddIn and I need to use XML to make the change.
0
Steven HarrisPresidentCommented:
I would like to add some existing Excel buttons that don't appear in the ribbons to be on my Add-In ribbon

Sorry, I misinterpreted that.  I thought you were looking to change only your ribbon, not the distributed one.

Attached is the Office 2010 'Fluent User Interface Control Identifiers' for Excel Controls.

If you want to add missing commands to your own custom Ribbon you must know the RibbonX for the command.

Find the idMso
-Point to the command in the "Commands Not in the Ribbon" list with your mouse and you will see the name in parenthesis, such as:  'Select Visible Cells (TableSelectVisibleCells)'
-Open the attachment and search for the idMso you just found

TableSelectVisibleCells is a button, so:

<toggleButton idMso="TableSelectVisibleCells" size="normal"/>
ExcelControls.xlsx
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Build an E-Commerce Site with Angular 5

Learn how to build an E-Commerce site with Angular 5, a JavaScript framework used by developers to build web, desktop, and mobile applications.

pmpataneAuthor Commented:
I had to leave out the word "toggle", but this is exactly what I needed...Thank you!
0
Steven HarrisPresidentCommented:
I'm glad I could be of assistance!  I also have some other various Office 2010 and 2013 Control Identifiers if you would like copies of those as well:

2010:
Outlook (multiple), Word, Powerpoint, InfoPath...

2013:
Outlook (multiple), Word, Powerpoint, InfoPath, Excel...
0
pmpataneAuthor Commented:
I would love to have all of the above (except Infopath)...thanks!!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.