Share CommandBar between add-ins

Add-in Express™ Support Service
That's what is more important than anything else

Share CommandBar between add-ins
How to share a single command bar between add-ins? 
pwl




Posts: 4
Joined: 2016-04-26
The below post provides an excellent explanation of ribbon sharing but how one would go about doing the same for command bars?

https://www.add-in-express.com/creating-addins-blog/2012/11/05/excel-addin-shared-ribbon-tabs/
Posted 15 May, 2016 13:58:53 Top
Andrei Smolin


Add-in Express team


Posts: 18829
Joined: 2006-05-11
Hello,

For commandbar controls to share the same command bar, the corresponding ADXCommandBar components must have the same value in their Name properties. If the command bar(s) are temporary (ADXCommandBar.Temporary = true) you will have to write some logic in order to preserve the command bar undeleted when one of the add-ins got shut down.


Andrei Smolin
Add-in Express Team Leader
Posted 16 May, 2016 03:07:07 Top