Change Color of Cell Comment Indicator

M

Michael

I would like to be able to change the color of the cell
comment indicator via programming (e.g. red, yellow, green
depending on severity of a particular comment). I see no
object reference to the color of the indicator nor have I
been able to come up with any workaround... any ideas out
there on how to do this?

I am very surprised that Excel would not give you the
ability to do this.
 
T

Tom Ogilvy

Sub ModifyComment()
With ActiveCell.Comment.Shape
.Fill.Visible = msoTrue
.Fill.Solid
.Fill.ForeColor.SchemeColor = 52
.Fill.Transparency = 0#
.Line.Weight = 0.75
.Line.DashStyle = msoLineSolid
.Line.Style = msoLineSingle
.Line.Transparency = 0#
.Line.Visible = msoTrue
.Line.ForeColor.RGB = RGB(0, 0, 0)
.Line.BackColor.RGB = RGB(255, 255, 255)
End With
End Sub
 
T

Tom Ogilvy

Disregard - I thought you meant the background color - somehow I missed the
Indicator part.
 

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

Top