Customize Ribbon details to excel cell in VB

mehidy1437

Active Member
Joined
Nov 15, 2019
Messages
348
Office Version
  1. 365
  2. 2016
  3. 2013
Platform
  1. Windows
  2. Mobile
  3. Web
Hi, I have a couple of customizing ribbons. I want to get all the customize ribbon & command details in excel cells as below.
How can I get this?
My all macros are saved in multiple modules in personal.xlsb file.

customize ribbon.JPG
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Extract the customui.xml
Try to run it throu power query to get all elements in a table format.
This should also give you the callbacks names.
Then you have open the xlsb in VBE and get from the callbacks the subs/functions which are called by each button.
After you have the subs names there maybe some code out there which goes into the VBA project and gets the names of the modules which contain the subs.
Maybe it is faster to do all this manually Normally it should be done during development stage.
 
Upvote 0
Thanks for your response, I'm not quiet familiar with power query.

If there would be VBA solutions for the entire out put, that would be better. In any case thanks for your information.
 
Upvote 0
Well, I don't think you will be able to find an universal solution. Thera are different ways a custom ribbon can be designed even if you leave dynamic menus aside. Not to mention callbacks and the code behind them.
So you will need to provide some relevant sample of your ribbon xml and your code.
It's too complicated to completely automate such a process.
 
Upvote 0

Forum statistics

Threads
1,223,164
Messages
6,170,444
Members
452,326
Latest member
johnshaji

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