ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Delete Chart shortcut menu (https://www.excelbanter.com/excel-programming/343632-delete-chart-shortcut-menu.html)

avi

Delete Chart shortcut menu
 
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

Bob Phillips[_6_]

Delete Chart shortcut menu
 
Do you mean

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

instead?



--

HTH

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


"Avi" wrote in message ...
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


All times are GMT +1. The time now is 11:37 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com