A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data
You literally asked "For example: when cell A2 is updated (any type of change), cell A3 is automatically updated"!
So the code that I wrote does that.
If you had asked "For example: when cell A2 is updated (any type of change), cell B2 is automatically updated", I would have written it like this:
Private Sub Worksheet_Change(ByVal Target As Range)
Dim rng As Range
Set rng = Intersect(Range("A2:A10"), Target) ' Adjust the range as desired
If Not rng Is Nothing Then
Application.ScreenUpdating = False
Application.EnableEvents = False
rng.Offset(0, 1).Value = Now
Application.EnableEvents = True
Application.ScreenUpdating = True
End If
End Sub