Lars von Wedel
Posts: 37
Joined: 2010-05-04
|
Hello,
I have an "old-style" menu structure (ADXMainMenu, ADXCommandBarPopup, etc.) for my AddIn. However, the buttons are not shown in Excel, also I do not see any AddIn ribbon item. I read something about a "UseForRibbon" property, but don't know where to find it.
Any help is appreciated.
Lars
P.S. My various modules of the AddIn contribute different parts of the menus. As far as I can see, this is not possible using ribbons. Hence, I would like to stick to menus until I have a better idea. |
|
Eugene Astafiev
Guest
|
Hi Lars,
You just need to set up the UserForRibbon property of your command bar components to true. Also you can get the job done at runtime in the AddinInitialize component setting up the UserForRibbon property programmatically. Then you will find your controls in the Add-Ins tab of the Ribbon UI. |
|
Lars von Wedel
Posts: 37
Joined: 2010-05-04
|
Okay, it works in runtime, but I did not find the property on any of the property sheets.
Lars |
|
Eugene Astafiev
Guest
|
Hi Lars,
That property is not available at design-time for the ADXMainMenu component. It is by design. The main menu was replaced by the Ribbon UI in later versions of Office. |
|