Hi TMS,
Sorry i'm a bit newbie to excel VBA.
looked online how to do what you suggested and i'm a bit lost.
found a VBA code that adds a note with the changed time to any changed cell, this is close but not what i want.
VBA code:
' Add a comment for each change.
Private Sub Worksheet_Change(ByVal Target As Range)
Dim OldComment As String, NewComment As String, objCell As Range
If Target.Cells.Count > 1 Then Exit Sub
NewComment = "Changed on " & Now() & " by " & Application.UserName & _
" from " & OldCellValue
If Target.Comment Is Nothing Then
Target.AddComment NewComment
Else
OldComment = Target.Comment.Text
Target.Comment.Text NewComment & vbLf & OldComment
End If
Target.Comment.Shape.TextFrame.AutoSize = True
End Sub
how am i getting the data in the note to be written in the "date" cell?
any tips on what to do it?
Thanks!
Bookmarks