Hi I have the following VBA code against sheet 1 and this is working on a single column D4:D100. But now i need to track the date a change to any cell within
Private Sub Worksheet_Change(ByVal Target As Range)
If Intersect(Target, Range("D4:D100")) Is Nothing Then Exit Sub
Target.Offset(0, 1) = Now()
Next
If Intersect(Target, Range("G4:G100")) Is Nothing Then Exit Sub
Target.Offset(0, 1) = Now()
Next
If Intersect(Target, Range("J4:J100")) Is Nothing Then Exit Sub
Target.Offset(0, 1) = Now()
Next
If Intersect(Target, Range("N4:N100")) Is Nothing Then Exit Sub
Target.Offset(0, 1) = Now()
End Sub
4 different
columns independently, I can not get this to work. Can anyone help please? I assume I have joined / linked the code incorrectly. Thanks Private Sub Worksheet_Change(ByVal Target As Range)
If Intersect(Target, Range("D4:D100")) Is Nothing Then Exit Sub
Target.Offset(0, 1) = Now()
Next
If Intersect(Target, Range("G4:G100")) Is Nothing Then Exit Sub
Target.Offset(0, 1) = Now()
Next
If Intersect(Target, Range("J4:J100")) Is Nothing Then Exit Sub
Target.Offset(0, 1) = Now()
Next
If Intersect(Target, Range("N4:N100")) Is Nothing Then Exit Sub
Target.Offset(0, 1) = Now()
End Sub