neodjandre
Well-known Member
- Joined
- Nov 29, 2006
- Messages
- 950
- Office Version
- 2019
- Platform
- Windows
I am using this code which works fine to restrict selection of one cell in a sheet.
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Target.Range("A1").Select
Application.CutCopyMode = False
End Sub
However, I need to modify this so that the restriction only applies to certain table columns (and not the whole sheet).
e.g.
Range("table_a
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Target.Range("A1").Select
Application.CutCopyMode = False
End Sub
However, I need to modify this so that the restriction only applies to certain table columns (and not the whole sheet).
e.g.
Range("table_a
Code:
")
Range("table_b[Name]")
Any ideas? many thanks
Last edited: