K
kb
When I add a caption to a right-click shortcut menu for, say, the Tables
context, the action seems to succeed, but I don't see my new custom item
displayed in the menu when I right-click on a table in PowerPoint 2007. The
VBA is as follows:
Sub foo()
Dim pop As CommandBarPopup
Set pop = CommandBars("shortcut
menus").Controls("Table").CommandBar.Controls("Tables")
pop.CommandBar.Controls.Add(msoControlButton, , , , True).Caption = "my
button"
End Sub
When I right-click on a table, I see "my button" as the last item in
PowerPoint 2003. When I do the same in 2007, I get nothing.
How do I add my items to shortcut menus?
Thanks in advance.
context, the action seems to succeed, but I don't see my new custom item
displayed in the menu when I right-click on a table in PowerPoint 2007. The
VBA is as follows:
Sub foo()
Dim pop As CommandBarPopup
Set pop = CommandBars("shortcut
menus").Controls("Table").CommandBar.Controls("Tables")
pop.CommandBar.Controls.Add(msoControlButton, , , , True).Caption = "my
button"
End Sub
When I right-click on a table, I see "my button" as the last item in
PowerPoint 2003. When I do the same in 2007, I get nothing.
How do I add my items to shortcut menus?
Thanks in advance.