Add menuitems to custom created menu

G

Guest

Hello,

I created a custom menu 'Extra's'. This menu is created with an Add In. But
now I want to add new menu items to this menu. These menu items are created
by another Add-In. But I can't mak it work.
for example:
Set NewControl =
Application.CommandBars("Tools").Controls.Add(Type:=msoControlButton, ID:=1)
works, but
Set NewControl =
Application.CommandBars("Extra's").Controls.Add(Type:=msoControlButton, ID:=
1)

does not work. And I need this to add new menu items.
Or are there other ways to make this work?

Thanks.

René
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top