Superscript Property
Applies To
Font object.
Description
True if the specified text is superscript, False if it's not superscript, or msoStateMixed if some characters are superscript and some aren't. The default value is False. Read/write Long.
Remarks
Setting the BaselineOffset property to a negative value automatically sets the Subscript property to True and the Superscript property to False.
Setting the BaselineOffset property to a positive value automatically sets the Subscript property to False and the Superscript property to True.
Setting the Superscript property to True automatically sets the BaselineOffset property to 0.3 (30 percent).
See Also
BaselineOffset property, Subscript property.
Example
This example sets the text for shape two on slide one and then makes the fifth character superscript with a 30-percent offset.
With Application.ActivePresentation.Slides(1).Shapes(2).TextFrame
With .TextRange
.Text = "E=mc2"
.Characters(5, 1).Font.Superscript = True
End With
End With