I have removed most of them, I just want to keep "Copy" and then add my own macros to the right click menu.
However I have not been able to remove Paste options or Link
Any ideas what the correct name for these components is?
Or maybe a neater way to "removed all" <> Copy
However I have not been able to remove Paste options or Link
Any ideas what the correct name for these components is?
Or maybe a neater way to "removed all" <> Copy
Code:
Private Sub Workbook_Open()
Application.CommandBars("Cell").Reset
Application.CommandBars("Cell").Controls("Cut").Delete
Application.CommandBars("Cell").Controls("Smart Lookup").Delete
Application.CommandBars("Cell").Controls("Translate").Delete
Application.CommandBars("Cell").Controls("Paste Special...").Delete
Application.CommandBars("Cell").Controls("Insert...").Delete
Application.CommandBars("Cell").Controls("Delete...").Delete
Application.CommandBars("Cell").Controls("Clear Contents").Delete
Application.CommandBars("Cell").Controls("Quick Analysis").Delete
Application.CommandBars("Cell").Controls("Filter").Delete
Application.CommandBars("Cell").Controls("Sort").Delete
Application.CommandBars("Cell").Controls("Insert Comment").Delete
Application.CommandBars("Cell").Controls("Format Cells...").Delete
Application.CommandBars("Cell").Controls("Pick From Drop-Down List...").Delete
Application.CommandBars("Cell").Controls("Define Name...").Delete
'Application.CommandBars("Cell").Controls("Link").Delete