Rebuild entire Ribbon by calling GetCustomUI

Oct 29, 2013 at 7:30 PM
I'm working on an Add-in feature for my Add-in :)

I have a menu where the user can enable features in my Add-in. Depending on these settings the whole xml tree is modified.

And I need someway to update the entire Ribbon by calling GetCustomUI again. Is there any way to do this?

Oct 29, 2013 at 9:22 PM
Hi Niels,

I don't think getting Excel to call GetCustomUI again is an easy approach.

You might need to search a bit about dynamic menus with the Office ribbon, but it's not so easy to load arbitrary ribbon parts - the Office ribbon guidelines push against that a bit.

Maybe if you have a separate .xll add-in that you were loading?