Superscript Property
Applies To
Font object.
Description
True if the font is formatted as superscript. Returns True, False, or wdUndefined (a mixture of True and False). Can be set to True, False, or wdToggle. Read/write Long.
Remarks
Setting Superscript to True sets Subscript to False, and vice versa.
See Also
Font property, FormattedText property, Size property, Subscript property.
Example
This example inserts text at the beginning of the active document and formats two characters in the fourth word as superscript.
Set myRange = ActiveDocument.Range(Start:=0, End:=0)
myRange.InsertAfter "Superscript in the 4th word."
ActiveDocument.Range(Start:=20, End:=22).Font.Superscript = True
This example formats the selected text as superscript.
If Selection.Type = wdSelectionNormal Then
Selection.Font.Superscript = True
Else
MsgBox "You need to select some text."
End If