Formatting certain text within a comment

  • Thread starter Thread starter pikapika13
  • Start date Start date
P

pikapika13

I did some research on this forum and even though this question has bee
asked, it was never really answered:

I would like to bold, underline, or strikethrough only certain word
within a comment.
For instance:
*Due Date:* 08/15/06
I've only found things that would bold the entire comment.

Thanks in advance
 
from an old posting of mine:

Sub AddComment()
Dim cmt As Comment
Set cmt = ActiveCell.AddComment
With cmt.Shape.TextFrame
.Characters.Text = "This is some Text for the Comment"
.Characters.Font.Name = "Times Roman"
.Characters.Font.Size = 14
.Characters(14, 4).Font.Bold = True
.Characters(1, 4).Font.ColorIndex = 3
End With
End Sub
 

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

Back
Top