Delete Chart shortcut menu

A

Avi

Hello,

I try to disable the shortcut menu of an embedded chart with the following line:

Sub Menu()
CommandBars("Chart").Enabled = False
End Sub

I do not get any error message, but the shortcut menu is still there

Any help will be very appreciated

Avi
www.avibenita.com
 
B

Bob Phillips

Do you mean

CommandBars("Chart Type...").Enabled = False

instead?



--

HTH

RP
(remove nothere from the email address if mailing direct)


Hello,

I try to disable the shortcut menu of an embedded chart with the following line:

Sub Menu()
CommandBars("Chart").Enabled = False
End Sub

I do not get any error message, but the shortcut menu is still there

Any help will be very appreciated

Avi
www.avibenita.com
 

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