Subscript Property
Applies To
Font object.
Description
True if the specified text is subscript, False if it's not subscript, or msoStateMixed if some characters are subscript 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 Subscript property to True automatically sets the BaselineOffset property to – 0.25 ( – 25 percent).
See Also
BaselineOffset property, Superscript property.
Example
This example enlarges the first character in the title on slide one if that character is subscript.
With Application.ActivePresentation.Slides(1).Shapes.Title. _
TextFrame.TextRange
With .Characters(1, 1).Font
If .Subscript Then
scaleChar = -20 * .BaselineOffset
.Size = .Size * scaleChar
End If
End With
End With