ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Contect Menu Help (https://www.excelbanter.com/excel-programming/272105-contect-menu-help.html)

Mr P M Edy

Contect Menu Help
 
Hi,

I need to disable the right-click contect menu for pictures and word
art. I have already tried -

Application.CommandBars("WordArt").Enabled = False

But that removes the main toolbar only, the main of what i am trying
to achieve is to prevent cut and paste, but the rest of the options
are of no use so i might as well disable the complete menu.

Any help will greatly be appreciated.

PM EDY........

Bob Phillips[_5_]

Contect Menu Help
 
Try

Application.CommandBars("Pictures Context Menu").Enabled = False

--
HTH

-------

Bob Phillips
... looking out across Poole Harbour to the Purbecks


"Mr P M Edy" wrote in message
...
Hi,

I need to disable the right-click contect menu for pictures and word
art. I have already tried -

Application.CommandBars("WordArt").Enabled = False

But that removes the main toolbar only, the main of what i am trying
to achieve is to prevent cut and paste, but the rest of the options
are of no use so i might as well disable the complete menu.

Any help will greatly be appreciated.

PM EDY........





All times are GMT +1. The time now is 02:12 AM.

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