PC Review


Reply
Thread Tools Rate Thread

Accessing New Menu code

 
 
rnosk
Guest
Posts: n/a
 
      3rd Mar 2008
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.
 
Reply With Quote
 
 
 
 
FSt1
Guest
Posts: n/a
 
      3rd Mar 2008
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

"rnosk" wrote:

> 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.

 
Reply With Quote
 
rnosk
Guest
Posts: n/a
 
      3rd Mar 2008
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.


"FSt1" wrote:

> 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
>
> "rnosk" wrote:
>
> > 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.

 
Reply With Quote
 
Dave Peterson
Guest
Posts: n/a
 
      3rd Mar 2008
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.

rnosk wrote:
>
> 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.


--

Dave Peterson
 
Reply With Quote
 
rnosk
Guest
Posts: n/a
 
      3rd Mar 2008
Thanks Dave. I suppose I can't cut corners by using the code generated while
I did the interactive version. Your links were helpful.


"Dave Peterson" wrote:

> 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.
>
> rnosk wrote:
> >
> > 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.

>
> --
>
> Dave Peterson
>

 
Reply With Quote
 
Dave Peterson
Guest
Posts: n/a
 
      3rd Mar 2008
Maybe or maybe not.

Depends on what that code was.

rnosk wrote:
>
> Thanks Dave. I suppose I can't cut corners by using the code generated while
> I did the interactive version. Your links were helpful.
>
> "Dave Peterson" wrote:
>
> > 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.
> >
> > rnosk wrote:
> > >
> > > 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.

> >
> > --
> >
> > Dave Peterson
> >


--

Dave Peterson
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
What is the best case for accessing managed code from unmanaged code? Bae,Hyun-jik Microsoft VC .NET 4 28th Jul 2005 02:37 PM
Accessing Menu Options from VB Code Zuhair Microsoft Excel Programming 5 23rd Jun 2005 10:06 AM
How to show dropdown list of menu items just like click on Parent menu by writing code. Sakharam Phapale Microsoft VB .NET 1 8th Jan 2005 12:39 PM
How to show dropdown list of menu items just like click on Parent menu by writing code Sakharam Phapale Microsoft C# .NET 1 7th Jan 2005 03:47 PM
ADD-In designer calls menu cretion code but menu does not apper Maija Korhonen Microsoft Powerpoint 1 20th Sep 2003 03:42 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:04 PM.