Loop Through Ribbon Using VBA? (need IDs for custom add-in(s))

elthombre

New Member
Joined
Aug 21, 2023
Messages
2
Office Version
  1. 365
  2. 2021
  3. 2019
  4. 2016
  5. 2013
  6. 2011
  7. 2010
  8. 2007
  9. 2003 or older
Platform
  1. Windows
  2. MacOS
  3. Mobile
  4. Web
Hi All,

I was wondering if it is possible to loop through all controls in the Ribbon, including custom add-ins, and get the IDs?

What I am ultimately trying to do is add a control group to a tab which is not from native Excel but another add-in that I do not have source to. If I can get the IDs, I can update custom XML.

Thanks
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
Hi All,

I was wondering if it is possible to loop through all controls in the Ribbon, including custom add-ins, and get the IDs?

What I am ultimately trying to do is add a control group to a tab which is not from native Excel but another add-in that I do not have source to. If I can get the IDs, I can update custom XML.

Thanks
Do you have access to the custom XML of the tab you're trying to replicate? I'm guessing perhaps not...?
 
Upvote 0
Do you have access to the custom XML of the tab you're trying to replicate? I'm guessing perhaps not...?
No. There is a file: Excel.officeUI which can be edited but, for now, we're bagging this.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,177
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top