![]() |
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 |
All times are GMT +1. The time now is 12:46 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com