dpaton05
Well-known Member
- Joined
- Aug 14, 2018
- Messages
- 2,352
- Office Version
- 365
- 2016
- Platform
- Windows
I have a table and if the first column has something changed, I want to run code directly after the update.
I have this code but it doesn't work
It is in the
sub for the worksheet where I want it.
What is wrong with my code or what do I need to do differently?
I have this code but it doesn't work
VBA Code:
If Selection.Count = 1 Then
If Not Intersect(Target, Me.ListObjects("CSS_Quote").ListColumns(1).Range) Is Nothing Then
MsgBox "hello"
End If
It is in the
VBA Code:
Private Sub Worksheet_Change(ByVal Target As Range)
sub for the worksheet where I want it.
What is wrong with my code or what do I need to do differently?