Add to a menu

0 views
Skip to first unread message

David E. Hulme

unread,
Dec 8, 1999, 3:00:00 AM12/8/99
to
Once upon a time, with Excel95, I could add my own macro to
*any* of the menu drop-down lists (not merely the tools menu).
Now I have Excel97, can anyone tell me how to add a menu item to
the *help* or *window* menu lists? The online help is not
helpful in telling me where to look for help!
Many thanks.
--
David E. Hulme

Chip Pearson

unread,
Dec 8, 1999, 3:00:00 AM12/8/99
to
David,

See the "Menus In Excel97 And 2000" page on my web site for information
about doing this either manually or with VBA code.
http://www.cpearson.com/excel/menus.htm


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
www.cpearson.com
ch...@cpearson.com

"David E. Hulme" <da...@aedis.demon.co.uk> wrote in message
news:CZbrMLAM...@aedis.demon.co.uk...

Patrick Molloy

unread,
Dec 9, 1999, 3:00:00 AM12/9/99
to
Its exactly the same as if you wanted to customize a toolbar.
Right click while the pointer is over a toolbar, select Customise
In the Customise Window select the Commands Tab and scroll to the
bottom of the categories listuntil you see 'New Menu'
Select 'New Menu', then in the right pane, Commands, sellect 'New
Menu' and drag it to the menu bar on the worksheet, in the position
that you want it.
While it's still selected, click the button called 'Modify Selection'
in the customise window...

...I think by now you'll figure the rest out for yourself...

Patrick
____________

David E. Hulme

unread,
Dec 10, 1999, 3:00:00 AM12/10/99
to
In article <OQs19xbQ$GA....@cppssbbsa02.microsoft.com>, Chip Pearson
<ch...@cpearson.com> writes

>David,
>
>See the "Menus In Excel97 And 2000" page on my web site for information
>about doing this either manually or with VBA code.
>http://www.cpearson.com/excel/menus.htm
>
>
>--
>Cordially,
>Chip Pearson
>Microsoft MVP - Excel
>www.cpearson.com
>ch...@cpearson.com
>
Many thanks, will look this weekend.
P.S. See my reply to Patrick's comment in this thread.

--
David E. Hulme

David E. Hulme

unread,
Dec 10, 1999, 3:00:00 AM12/10/99
to
In article <384fa2bd...@news.ml.com>, Patrick Molloy
<patrick...@hotmail.com> writes

>Its exactly the same as if you wanted to customize a toolbar.
>Right click while the pointer is over a toolbar, select Customise
>In the Customise Window select the Commands Tab and scroll to the
>bottom of the categories listuntil you see 'New Menu'
>Select 'New Menu', then in the right pane, Commands, sellect 'New
>Menu' and drag it to the menu bar on the worksheet, in the position
>that you want it.
>While it's still selected, click the button called 'Modify Selection'
>in the customise window...
That wasn't what I wanted, I already figured that out. I want to *add*
to the *help* dropdown list not create a new list.

>...I think by now you'll figure the rest out for yourself...
>Patrick
I did it though! The trick is to have the "customise" active, and then
select the menu list (eg Help), then drag and drop the newmenu item
where required. I was trying to do it the other way around and merely
received an angry BEEP from my machine.

Thanks anyway for giving me a cup of perseverance.

If you are still in a generous mood...
For some reason the macro when called by the above method does not wait
for a click, it starts when hovered over the new menu. Ideas?

Regards, David H.

--
David E. Hulme

Patrick Molloy

unread,
Dec 10, 1999, 3:00:00 AM12/10/99
to
I can't replicate the problem

I 'customise the HELP menu by dropping in a Custom Menu Item from the
Macros category of the Commans tab, then I assigned a macro to the new
menu item.

I found that this worked 'normally' in that I had to 'click' the item
to call the code.

Tom Ogilvy

unread,
Dec 11, 1999, 3:00:00 AM12/11/99
to
Just for kicks, there is a lot of information in help on customizing
toolbars, but there doesn't seem to be an easy way to get there.

The topic is customize toolbars and it looks like this:
===========================
Customize toolbars

Click the topic that covers what you want to know.

Change the image or text on a toolbar button or menu command
Create a toolbar
Add a button to a toolbar
Add a built-in menu to a toolbar
Add a custom menu to a toolbar
Change the width of a drop-down list box on a toolbar
Copy an image from one toolbar button or menu command to another

Delete a menu from a toolbar
Display text or an icon on a toolbar button
Group related buttons and menus on a toolbar
Rename a custom toolbar
Rename a menu command or toolbar button
Restore original settings for a built-in toolbar button or menu command
Show or hide toolbar ScreenTips

Run a macro from a toolbar button
Attach a custom toolbar to a workbook
Delete a custom toolbar
Restore original buttons and menus for a built-in toolbar
Save more than one toolbar configuration
=================================

Each of those topics has a link to a help page.

In the help menu I selected Contents and Index
I went into the Find tab and searched on Customize
This resulted in 3 main topics. I selected the first (the second works to)
which was a lowercase customize. I then scrolled pretty far down in the
lower listbox until I found "Customize toolbars" and I checked that box and
hit the display button.

Hope that helps.
Regards,
Tom Ogilvy


David E. Hulme <da...@aedis.demon.co.uk> wrote in message
news:W5euUKAE...@aedis.demon.co.uk...

Reply all
Reply to author
Forward
0 new messages