Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

adding to shortcut menus

209 views
Skip to first unread message

Stephen Simons

unread,
Apr 10, 2001, 1:49:53 PM4/10/01
to
is there a way to customise shortcut menus ??

I want to add a macro I created to the shortcut menu in XL.

Thanks


Steve

David McRitchie

unread,
Apr 10, 2001, 5:16:42 PM4/10/01
to
Hi Stephen,
Is there a shortcut menu? How does one get the
shortcut menu and what do you want to see when you get there?

If you mean adding to a toolbar menu, or creating a toolbar
button, see
Toolbars, Custom Buttons and Menus
http://www.geocities.com/davemcritchie/excel/toolbars.htm
but they are not called shortcuts. You might also want to
look at the white and brighter yellow boxes on my Formulas page.
http://www.geocities.com/davemcritchie/excel/formula.htm

Shortcuts are keystroke combinations, see
http://www.geocities.com/davemcritchie/excel/shortx2k.htm

HTH,
David McRitchie, Microsoft MVP - Excel (site changed 2000-04-15)
My Excel Macros: http://www.geocities.com/davemcritchie/excel/excel.htm
Search Page: http://www.geocities.com/davemcritchie/excel/search.htm

"Stephen Simons" <sim...@pctamers.co.uk> wrote in message
news:3ad344f...@news.waitrose.com...

Debra Dalgleish

unread,
Apr 10, 2001, 5:34:05 PM4/10/01
to
You can get info from this article on the MS Knowledge Base:

http://support.microsoft.com/support/kb/articles/Q166/7/55.asp

Stephen Simons

unread,
Apr 11, 2001, 1:10:02 PM4/11/01
to
By shortcut menu I mean the one that appears when you right-click a
cell.

Steve

David McRitchie

unread,
Apr 11, 2001, 3:54:06 PM4/11/01
to
Hi Steve,
Should have remembered that is what it is called, it is also interesting
that it is mentioned in the VBE Help and only in terms of spreadsheet
usage; whereas, the Excel help has nothing. Hope you found

"Stephen Simons" <sim...@pctamers.co.uk> wrote in message

news:3ad48fd2...@news.waitrose.com...

Richard Price

unread,
Apr 12, 2001, 2:33:49 PM4/12/01
to
David

It's also interesting that you can customise them in Word exactly like
any other toolbar or menu: in the Customize dialogue there's an entry
for Shortcut Menus, which brings up a dummy menu bar with the Text,
Table and Draw menus on it. Nothing like that in Excel though - as
someone said here before, Microsoft's VP of User Interface Consistency
must have been out of the office that day. (Quite a few days,
actually.<g>)

Richard Price

"David McRitchie" <DMcRi...@msn.com> wrote in message
news:upr59HswAHA.1908@tkmsftngp03...

Drew Paterson

unread,
Apr 13, 2001, 12:59:00 AM4/13/01
to
Courtesy of Chip Pearson

"I use the following code in my personal.xls file to add two items to the
right-click menu. The items execute macros named "CopyFormula" and
"PasteFormula".

With Application.CommandBars("Cell").Controls
With .Add
.Caption = "C&opy Formula"
.OnAction = ThisWorkbook.Name & "!CopyFormula"
.Tag = cControlTag
.BeginGroup = True
End With

With .Add
.Caption = "P&aste Formula"
.OnAction = ThisWorkbook.Name & "!PasteFormula"
.Tag = cControlTag
End With
End With"

HTH

Drew

"Richard Price" <rjp...@my-deja.com> wrote in message news:OpSDa83wAHA.1276@tkmsftngp03...

David McRitchie

unread,
Apr 19, 2001, 12:05:40 PM4/19/01
to
For some reason I thought coding had to be run each time
Excel was run so added it to Auto_Open, and was surprised
to find twenty sets added to the RClick menu. The following
line will reset the RClick menu, and can be placed in front
of such coding if it gets rerun.

Application.CommandBars("Cell").Reset 'was not in 2001-04-13 reply

David McRitchie
____
"Drew Paterson" <dre...@paradise.net.nz> wrote
in message news:uiqh89AxAHA.1620@tkmsftngp05...
Courtesy of Chip Pearson

HTH

Drew

Drew Paterson

unread,
Apr 21, 2001, 2:00:23 AM4/21/01
to
Right, David, I should have thought of that, having run into something similar myself when experimenting to get this sort of thing up and running.

Replace the line:
With .Add
to read
With .Add(temporary:=True)

and the addition should remove itself when Excel closes.

Drew

"David McRitchie" <DMcRi...@msn.com> wrote in message news:Oxc17qOyAHA.1804@tkmsftngp02...


> For some reason I thought coding had to be run each time

>> With .Add

0 new messages