peterniesten
New Member
- Joined
- Sep 11, 2015
- Messages
- 5
Hi,
I'm trying to make a timestamp in B2 when cell A1 is updated by a formula.
Thanks
I'm trying to make a timestamp in B2 when cell A1 is updated by a formula.
Thanks
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Count = 1 Then
If Not Intersect(Target, Range("[B]B:B[/B]")) Is Nothing Then
If Target.Value <> "" Then Target.Offset(0, -1).Value = Now
End If
End If
End Sub
Thanks, for your answer, it works, but when I enter the studens number, I always enter it in Cell L16, then vertical search finds the right student. So it is important that the timestamp displays when the cell with the formula is updated.