Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Comments in Excel

Status
Not open for further replies.

swamit

Technical User
Jan 9, 2002
16
US


How can I change the DEFAULT for the font and font size for the comments that can be inserted in Excel cells. ???
 
Hi!

Open the comment and select the text. Right click and choose format comment.

hth
Jeff Bridgham
bridgham@purdue.edu
 


Hey Jeff,
Thanks for your response. But I am looking to change the DEFAULT on the comment font and size....so that I dont have to change it everytime....it defaults to font size 8 always....i want to make it default to 12...
 
I think you need to alter some system wide settings. In control panel, appearance change the attributes for the Tooltips item to your requirements.

But this will have system wide implications.

AC
 
Hi swamit,

What you could do is format ALL your comments AFTER having entered them, (or anytime for that matter) using code like this...
Code:
Sub FormatComments()
    For Each Comment In ActiveSheet.Comments
        With Comment.Shape.DrawingObject
            With .Font
                .Name = "Arial"
                .Size = 10
                .Strikethrough = False
                .Superscript = False
                .Subscript = False
                .OutlineFont = False
                .Shadow = False
                .Underline = xlUnderlineStyleNone
                .ColorIndex = 46
            End With
        End With
    Next
End Sub
Hope this helps :) Skip,
metzgsk@voughtaircraft.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top