Thank you shg! One issue I'm having is that when you enter this time stamp, it unbolds all previous stamps in the cell. Is it possible to not affect the pre-existing text format? Also, is it possible to push the old text down to the line below the new stamp, something similar to what I've pasted below? I have also included what my code currently looks like.
"05/19/2014 (SM): Allocated.
05/18/2014 (SM): Uploaded."
Private Sub CommandButton1_Click()
Dim MessageBox
MessageBox = MsgBox(Prompt:="Add Comment?", Buttons:=vbYesNo)
If MessageBox = vbYes Then
With ActiveCell
.Font.Bold = False
.Value = Format(Now(), "mm/dd/yyyy") & " (SM):" & .Text
.Characters(1, 15).Font.Bold = True
End With
If MessageBox = vbNo Then Exit Sub
End If
End Sub
Bookmarks