I am interested in using this great VBA that I borrowed from MrExcel but instead of selecting all of column "d" to trigger a time stamp I would like to use a selected range of cells...say range c3:f100.
Can someone help me adjust this VBA...THANKS
Option Explicit
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Column = 4 Then
With Application
.ScreenUpdating = False
.EnableEvents = False
End With
If Len(Range("D" & Target.Row)) = 0 Then
Range("B" & Target.Row).ClearContents
Else
Range("B" & Target.Row).Value = Now()
End If
With Application
.ScreenUpdating = True
.EnableEvents = True
End With
End If
End Sub
Can someone help me adjust this VBA...THANKS
Option Explicit
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Column = 4 Then
With Application
.ScreenUpdating = False
.EnableEvents = False
End With
If Len(Range("D" & Target.Row)) = 0 Then
Range("B" & Target.Row).ClearContents
Else
Range("B" & Target.Row).Value = Now()
End If
With Application
.ScreenUpdating = True
.EnableEvents = True
End With
End If
End Sub