Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Programming / January 2006

Tip: Looking for answers? Try searching our database.

Add menuitems to custom created menu

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
René - 22 Jan 2006 12:45 GMT
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é
Ron de Bruin - 22 Jan 2006 14:34 GMT
Hi Rene

Look here for example code

http://support.microsoft.com/default.aspx?scid=kb;en-us;830502&Product=xlw
How to customize menus and menu bars in Excel

http://www.j-walk.com/ss/excel/tips/tip53.htm
Creating Custom Menus (John Walkenbach) TIP

http://www.erlandsendata.no/english/index.php?d=endownloadcommandbars
Ole P. Erlandsen's Web Site (Example workbooks)

Signature

Regards Ron de Bruin
http://www.rondebruin.nl

> Hello,
>
[quoted text clipped - 15 lines]
>
> René
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.