Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
hello,
I would like to disable the cut control (and its shortkey CtrlX). I have managed to disable the control by greying the menu item with the following code but the shortkey still work. Any idea? Thanks Sub preventcut() ' disable cut Application.CommandBars("Worksheet Menu Bar").Reset With Application.CommandBars("Worksheet Menu Bar").Controls .Item(2).Controls(3).Enabled = False End With End Sub Sub resetmenu() Application.CommandBars("Worksheet Menu Bar").Reset End Sub -- caroline |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Disable the Delete Control in the Edit Menu | Excel Programming | |||
disable built-in menu and short-cut key for cut command | Excel Discussion (Misc queries) | |||
Disable Control in Tools Menu | Excel Programming | |||
pls help: short cut menu doesn't show when right click mouse | Excel Programming | |||
short cut menu doesn't show when right click on mouse | Excel Programming |