I found some code and modified it for your code, is this what you want?
Sub AddOrAppendComment()
Dim sMyComment As String
Dim sExisting As String
ActiveCell.Value = ActiveCell.Value & Chr(10) & Format(Date + Time, "dd/mm/yyyy hh:mm")
'Const sMyComment As String = "My Comment"
With ActiveCell
If .Comment Is Nothing Then
.AddComment.Text Format(Date + Time, "dd/mm/yyyy hh:mm")
'.AddComment sMyComment
Else
sMyComment = ActiveCell.Comment.Text
'MsgBox sMyComment
sExisting = .Comment.Text
.Comment.Delete
.AddComment sExisting & ", " & sMyComment
'.Comment.Shape.TextFrame.AutoSize = True 'For auto size of comment box
End If
End With
End Sub
Bookmarks