Results 1 to 2 of 2
  1. #1
    New Lounger
    Join Date
    Feb 2001
    Location
    Huntsville, Alabama, USA
    Posts
    18
    Thanks
    0
    Thanked 0 Times in 0 Posts

    subscript size (2003/XP)

    Word's default subscript size is too small when the document text is size 10. A few years ago, I used to have a macro that changed Word's default to another percentage of the font. Is there such a "fix" for Word 2003? My previous macro was many crashes ago!! I know about raising or lowering the characters, but I want something faster!

    Thanks for any help. JoanS

  2. #2
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: subscript size (2003/XP)

    This is not fancy. It simply uses replace to change 10pt superscript and subscript to 12pt. It could be the basis for something more flexible.

    <code>Sub SupersizeMe()
    ' Bump 10pt Superscript and Subscript to 12pt
    With Selection.Find
    ' General find/replace parameters
    .ClearFormatting
    .Replacement.ClearFormatting
    .Forward = True
    .Wrap = wdFindContinue
    .MatchCase = False
    .MatchWholeWord = False
    .MatchWildcards = False
    .MatchSoundsLike = False
    .MatchAllWordForms = False
    ' Specific parameters for superscripts
    .Format = True
    .Text = ""
    .Font.Superscript = True
    .Font.Size = 10
    .Replacement.Text = ""
    .Replacement.Font.Size = 12
    .Execute Replace:=wdReplaceAll
    ' Specific parameters for subscripts
    .Format = True
    .Text = ""
    .Font.Subscript = True
    .Font.Size = 10
    .Replacement.Text = ""
    .Replacement.Font.Size = 12
    .Execute Replace:=wdReplaceAll
    ' Clean up for interactive find
    .ClearFormatting
    .Replacement.ClearFormatting
    .Format = False
    End With
    End Sub</code>

Posting Permissions

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