Accessing New Menu code

R

rnosk

After interactively adding a menu item (tools/customize/commands/new menu) to
the excel toolbar is the code available to edit? I've created a layered menu
but I can't seem to find the resulting code.
 
F

FSt1

hi
custom menu item and custom icons have macros assigned to them.
the code should be in the vb editor somewhere. Alt+F11.

regards
FSt1
 
R

rnosk

That's what I thought but I'm not seeing the resulting code. I don't know if
its hidden or specifically not made available. I can certainly write VB to
produce the menu but I would get a jump start if this code was available.
 
D

Dave Peterson

I think it's better to do all the work in code.

For additions to the worksheet menu bar, I really like the way John Walkenbach
does it in his menumaker workbook:
http://j-walk.com/ss/excel/tips/tip53.htm

Here's how I do it when I want a toolbar:
http://www.contextures.com/xlToolbar02.html
(from Debra Dalgleish's site)

And if you use xl2007:

If you want to learn about modifying the ribbon, you can start at Ron de Bruin's
site:
http://www.rondebruin.nl/ribbon.htm
http://www.rondebruin.nl/qat.htm -- For macros for all workbooks (saved as an
addin)
or
http://www.rondebruin.nl/2007addin.htm

In xl2007, those toolbars and menu modifications will show up under the addins.
 
R

rnosk

Thanks Dave. I suppose I can't cut corners by using the code generated while
I did the interactive version. Your links were helpful.
 

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