Article ID: 184098
Article Last Modified on 11/23/2006
Sub New_Comment()
ActiveCell.AddComment ""
ActiveCell.Comment.Visible = True
End Sub
Sub Fancy_Comment()
ActiveCell.AddComment ""
'Create the comment.
ActiveCell.Comment.Visible = True
ActiveCell.Comment.Shape.Select
With Selection
.ShapeRange.AutoShapeType = _ ' Set the AutoShape.
msoShapeExplosion2
.ShapeRange.Fill.PresetGradient _ ' Set background color.
msoGradientHorizontal, 1, _
msoGradientHorizon
.Font.Name = "Arial" ' Set the font.
.Font.FontStyle = "Bold Italic"
End With
End Sub
comments, overviewand then click Show Topics. Select the "About adding comments and highlighting changes in a workbook" topic, and click Go To. If you are unable to find the information you need, ask the Office Assistant.
Additional query words: XL98 note
Keywords: kbdtacode kbhowto kbprogramming KB184098