how do I put a date/time stamp in comments?

  • Thread starter Thread starter bonobo
  • Start date Start date
B

bonobo

how do I set up comments in Excel that automatically insert date/time stamp
as they are created?
 
Try this small macro:

Sub commenter()
Dim s As String
s = Now
With ActiveCell
.AddComment
.Comment.Visible = False
.Comment.Text Text:=s
.Select
End With
End Sub
 
Back
Top