I need to alter this code so that, only when there is change in RowID 5, the date should be populated. Currently, the date is populating whenever the cursor comes to that row (irrespective of changes).
Also, I need this for 1000 Rows (from D5 to D1000)
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If (Target.Row = 5) Then
range("D5").formula="=today()"
End If
End Sub
Also, I need this for 1000 Rows (from D5 to D1000)
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If (Target.Row = 5) Then
range("D5").formula="=today()"
End If
End Sub