Iridium
Well-known Member
- Joined
- Jul 15, 2002
- Messages
- 2,831
Found this code somewhere on the web a while ago
What I want to do is modify it so that pasting is disabled but allowing pastespecial of values.
Any ideas?
TIA
Code:
Private Sub Worksheet_SelectionChange(ByVal Target As Excel.Range)
Dim VRange As Range
Set VRange = Range("Data_Entry_Cells")
For Each Cell In Target
If Union(Cell, VRange).Address = VRange.Address Then
Application.CutCopyMode = False
End If
Next Cell
End Sub
What I want to do is modify it so that pasting is disabled but allowing pastespecial of values.
Any ideas?
TIA