Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I want to create a custom right click menu in Excel 2002. Is this possible?
|
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Here is a simple example to add and to remove such items
Public Sub addMenu() removeMenu 'just in case With Application.CommandBars("Cell") With .Controls.Add(Type:=msoControlButton) .BeginGroup = True .Caption = "Routine1" .OnAction = "Another" End With With .Controls.Add(Type:=msoControlButton) .Caption = "Routine2" .OnAction = "YetMore" End With End With End Sub Public Sub removeMenu() On Error Resume Next With Application.CommandBars("Cell") .Controls("Routine1").Delete .Controls("Routine2").Delete End With On Error GoTo 0 End Sub -- HTH RP (remove nothere from the email address if mailing direct) "Jennifer" wrote in message ... I want to create a custom right click menu in Excel 2002. Is this possible? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
right click menu shortcut changed from 2002 to 2003 | Excel Discussion (Misc queries) | |||
Want to Create a List in Excel 2002; Don't see List in Data Menu? | Excel Discussion (Misc queries) | |||
How to add right-click menu in excel. | Excel Discussion (Misc queries) | |||
right click menu excel | New Users to Excel | |||
Adding a menu item right click menu when clicking on a single. | Excel Programming |