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

B

bonobo

how do I set up comments in Excel that automatically insert date/time stamp
as they are created?
 
G

Gary''s Student

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top