Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
See Debra Dalgleish's site for full Insert Comment with date/time code
http://www.contextures.on.ca/xlcomments03.html#DateTime Here is revised version which pre-supposes no existing Comment in cell and adds the "NOTE:" all in bold font. Sub CommentDateTimeAdd() Dim strDate As String Dim cmt As Comment strDate = "dd-mmm-yy hh:mm:ss" Set cmt = ActiveCell.Comment Set cmt = ActiveCell.AddComment cmt.Text Text:=Format(Now, strDate) & Chr(10) _ & "NOTE:" End Sub Gord Dibben MS Excel MVP On Mon, 21 Dec 2009 18:09:31 +0000, Keyrookie wrote: Is there a way to have a comment, when "Insert Comment" is selected, to look like this? 12-19-09 (current date), 12:02 p.m. (current time) NOTE: In other words, have comments display current date & time when selected? Thanks, K |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Comment with date stamp | Excel Worksheet Functions | |||
Separating date from a Date & Time stamp | Excel Discussion (Misc queries) | |||
Date Stamp Need | Excel Worksheet Functions | |||
Create a button that will date stamp todays date in a cell | Excel Discussion (Misc queries) | |||
Date stamp spreadsheet in excel to remind me of completion date | Excel Worksheet Functions |