ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   how do I put a date/time stamp in comments? (https://www.excelbanter.com/excel-discussion-misc-queries/223760-how-do-i-put-date-time-stamp-comments.html)

Bonobo

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

Sheeloo[_3_]

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

See Debra Dalgleish's solution at
http://www.contextures.com/xlcomments03.html#DateTime


"bonobo" wrote:

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


Gary''s Student

how do I put a date/time stamp in comments?
 
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



--
Gary''s Student - gsnu200837


"bonobo" wrote:

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



All times are GMT +1. The time now is 10:18 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com