A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data
Ok, here is some VBA code:
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Intersect(Target, Range("A1:A10")) Is Nothing Then Exit Sub
Application.EnableEvents = False
Target.Offset(0, 5) = Now
Application.EnableEvents = True
End Sub
In this case the range where the formula will be entered is F1:F10, when the cell on the equivalent row in column A is selected. This may not be exactly what you need but it gives you an idea.
But for the macro you need we need to have more details. What cells or text do you want to trigger the macro? Where do you want the date to be entered?