ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Disable Move or Copy functionality (https://www.excelbanter.com/excel-programming/376496-disable-move-copy-functionality.html)

TimN

Disable Move or Copy functionality
 
I have disabled the command control on the menu bar for:

File / File Save As
and for Edit / Move or Copy Sheet

How can I disable the "Move or Copy" functionality you get by right clicking
the sheet tab at the bottom of a spreadsheet?

Thanks for any suggestions.


Ron de Bruin

Disable Move or Copy functionality
 
Hi

You can disable the whole menu like this
Application.CommandBars("Ply").Enabled = False

Or only the Move Copy
Application.CommandBars("Ply").FindControl(ID:=848 ).Enabled = False

See also
http://www.rondebruin.nl/menuid.htm

--
Regards Ron de Bruin
http://www.rondebruin.nl



"TimN" wrote in message ...
I have disabled the command control on the menu bar for:

File / File Save As
and for Edit / Move or Copy Sheet

How can I disable the "Move or Copy" functionality you get by right clicking
the sheet tab at the bottom of a spreadsheet?

Thanks for any suggestions.





All times are GMT +1. The time now is 08:58 PM.

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