Automatic date on cell value add | excel | VBA | excel interview question #vba #date #custom #viral

  • last year
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Cells.Count > 1 Then Exit Sub
If Not Intersect(Target, Range("B:B")) Is Nothing Then
Target.Offset(0, 4).Value = Date
End If
End Sub

Recommended