Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.setup
|
|||
|
|||
![]()
How to forbid ctrl+c and ctrl+X in sheet?
|
#2
![]()
Posted to microsoft.public.excel.setup
|
|||
|
|||
![]()
Ctrl +C (copy) and Ctrl +X (cut) are Windows shortcut keys rather than Excel
specific and I don't think its possible to disable them in Excel. I'm not even sure that it's possible to do it in Windows - there may be a registry tweak, but I don't know it. What you could do is write a macro that does nothing (or something neglibible - say, display a message that the key combination is not available) and assign the macro to the Ctrl +C and Ctrl +X combinations. This will not, however, prevent copying and cutting from the menus, toolbars or context menus. "GR" wrote: How to forbid ctrl+c and ctrl+X in sheet? |
#3
![]()
Posted to microsoft.public.excel.setup
|
|||
|
|||
![]()
You can read about this at:
http://msdn2.microsoft.com/en-us/lib...ffice.11).aspx You could use With Application .OnKey "^c", "" 'Copy shortcut disabled .OnKey "^v", "" 'Paste shortcut disabled End With This basically sets these keys to nothing ("") To enable them again, you would use With Application .OnKey "^c" 'Copy shortcut enabled .OnKey "^v" 'Paste shortcut enabled End With Without the "" at the end, it returns them to their original state -- Hth Kassie Kasselman "GR" wrote: How to forbid ctrl+c and ctrl+X in sheet? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Automaticall pick up info from a cell from a shet t oanither sheet , in the same cell, same book | Excel Worksheet Functions | |||
2 Workbooks and 6 Worksheets - Need to Populate 1 Workbook | Excel Worksheet Functions | |||
My sheet tabs disappeared with entered data. Can it be restored? | Excel Discussion (Misc queries) | |||
Copying information and calculations from one sheet to another she | Excel Worksheet Functions | |||
AUTO FILTER NOT CHANGING RESULTS | Excel Discussion (Misc queries) |