Add menu item to right-click menu

H

hermac

Hi,
I know how to add an item to the "Cell" commandbar :
i.e.
Dim MenuItem As CommandBarControl
Set MenuItem =
Application.CommandBars("Cells").Controls.Add(Type:=msoControlButton).

But how do I add an item to the shortcut menu that appears when you
right-click on an embedded chart ?

Thanks to anyone who can give me a push on this one.
Herman
 
A

Ardus Petus

Try:
Application.CommandBars("Plot Area").Controls.Add(Type:=msoControlButton).

HTH
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top