Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have recently converted to 2007 from 2003 and have a problem with
accessing the commands on the right click menu for a grouped shape. This code used to work but now it appears as though another menu is appearing and I don't believe that "pictures context menu" is it either. So the question is how to determine the name of the menu I see? Application.CommandBars("Shapes").Reset Dim CB As CommandBar Dim Ctrl As CommandBarControl Set CB = .CommandBars("Shapes") For Each Ctrl In CB.Controls Ctrl.Delete Next Set Ctrl = CB.Controls.Add(Type:=msoControlButton) With Ctrl .Caption = "Insert Picture" .OnAction = "CompInsert" .FaceId = 295 End With Set Ctrl = CB.Controls.Add(Type:=msoControlButton) With Ctrl .Caption = "Delete Picture" .OnAction = "CompDelete" .FaceId = 292 End With |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Screwed Up my Right Click Context Menu, Please Help | Excel Programming | |||
Undo button in the context menu (right click menu) | Excel Programming | |||
Custom Context menu (Right click menu) not working in sheet changeevent. | Excel Programming | |||
Right click Drag and Drop context menu | Excel Programming | |||
Right-Click (Context Menu) | Excel Programming |