Article ID: 183848
Article Last Modified on 6/17/2005
Sub Comment_Font_Change()
With ActiveCell.Comment.Shape.TextFrame.Characters.Font
.Name = "courier"
.Size = 14
.Bold = True
End With
End Sub
You can also change the font of all comments in a worksheet by running the
following macro:
Sub All_Comment_Font_Change()
For Each x In ActiveSheet.Comments
With x.Shape.TextFrame.Characters.Font
.Name = "courier"
.Size = 14
.Bold = True
End With
Next x
End Sub
Sub Macro1()
Range("A1").Comment.Shape.Select True
Range("A1").Comment.Text Text:="Username:" & Chr(10) & _
"this is a test"
Range("A2").Select
End Sub
For additional information, please see the following article in the
Microsoft Knowledge Base:
181659 XL98: Unable to Rotate AutoShapes While in Edit Mode
179216 OFF98: How to Use the Microsoft Office Installer Program
Additional query words: note modify XL98
Keywords: kbhowto kbprogramming kbprb kbdtacode KB183848