date in comment box

  • Thread starter Thread starter Guest
  • Start date Start date
Hi
you may use a macro for this (AFAIK there's no setting to do this
automatically):
Sub CommentAddOrEdit()
'adds new plain text comment or positions
'cursor at end of existing comment text
Dim cmt As Comment
Set cmt = ActiveCell.Comment
If cmt Is Nothing Then
ActiveCell.AddComment text:= format(now,"YYYY-MM-DD")
End If
SendKeys "%ie~"
End Sub

for more about this see: http://www.contextures.com/xlcomments03.html
 

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

Similar Threads

Excel Import Comments 3
Comment box 7
Comment with date stamp 10
Auto insert a comment box. 1
Adding A Date To Adjacent Cell 2
Comment Box 1
Excel Default Text Size in Comments box 1
Excel VBA and Comment boxes 3

Back
Top