Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Preventing cutting/pasting
This code from Elkar when placed in VBE ThisWorkbook seems to do a nice job
preventing a user from cutting/pasting in a workbook. Is there a way I can modify it for use only on a certain range within one sheet? How about two non-continguous ranges on the same sheet? TIA Here is the code from another post (credits to Elkar): Private Sub Workbook_Activate() Application.CutCopyMode = None End Sub Private Sub Workbook_SheetSelectionChange(ByVal Sh As Object, ByVal Target As Range) Application.CutCopyMode = None End Sub |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Cutting & pasting from one workbook to another | Excel Discussion (Misc queries) | |||
Cutting and Pasting with spaces | Excel Discussion (Misc queries) | |||
Cutting and Pasting in Excel | Excel Discussion (Misc queries) | |||
Formats when cutting and pasting | Excel Discussion (Misc queries) | |||
cutting a row and pasting to a column | Excel Programming |