Results 1 to 5 of 5
  1. #1
    5 Star Lounger
    Join Date
    Oct 2001
    Location
    San Bernardino, California, USA
    Posts
    734
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Changing Excel defaults (XP - 2002)

    I would like to change the way comments are done. Currently, when I enter a comment, it begins with my name and I would like to stop this. Also, the comment automatically uses an 8 pt font and I would like to change this to automatically use a 12 pt font. Is this possible? if so, how?

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Changing Excel defaults (XP - 2002)

    I don't think you can leave your name out of comments automatically. You could use Data | Validation instead, and set an input message without title.

    Furthermore, I think (this has come up before in this forum) that the font used by both comments and validation is that for tool tips; it is set in Display Settings, Appearance tab (click Advanced button in Windows XP.)

  3. #3
    WS Lounge VIP sdckapr's Avatar
    Join Date
    Jul 2002
    Location
    Pittsburgh, Pennsylvania, USA
    Posts
    11,225
    Thanks
    14
    Thanked 342 Times in 335 Posts

    Re: Changing Excel defaults (XP - 2002)

    You can change them AFTER the fact with VB.
    This code (for example) will eliminate the Username, and change the font to NON-bold, Arial, size 12, and red.

    NOTE: If the Username was edited it will not remove the edited version. Also if you customize the format of a comment this will overwrite it.

    Steve
    <pre>Option Explicit
    Sub ReformatComments()
    Dim cmt As Comment
    For Each cmt In ActiveSheet.Comments
    cmt.Text Text:=Application.WorksheetFunction.Substitute _
    (cmt.Text, Application.UserName & ":" & Chr(10), "")
    cmt.Shape.Visible = True
    cmt.Shape.Select
    With Selection.Font
    .Name = "Arial"
    .Bold = False
    .Size = 12
    .Color = vbRed
    End With
    Next cmt
    End Sub</pre>


  4. #4
    5 Star Lounger
    Join Date
    May 2001
    Location
    Philadelphia, Pennsylvania
    Posts
    676
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Changing Excel defaults (XP - 2002)

    I believe the source for your name is the Tools/Options/General...at the bottom is the User name box which holds the name inserted in the comment. I often just highlight and delete it in the comment...sometimes I change the name of the user to Napoleon Bonaparte...or leave it blank. Try it and see.

  5. #5
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Salt Lake City, Utah, USA
    Posts
    9,508
    Thanks
    0
    Thanked 6 Times in 6 Posts

    Re: Changing Excel defaults (XP - 2002)

    That will also effect the Workbook Properties.
    -John ... I float in liquid gardens
    UTC -7ąDS

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •