Syntax
Superscript [On]
Superscript()
Remarks
The Superscript statement adds or removes the superscript character format for the current selection, or controls superscript formatting for characters to be inserted at the insertion point.
Argument | Explanation |
On | Specifies whether to add or remove the superscript format: 1 Formats the selection as superscript. 0 (zero) Removes the superscript format. Omitted Toggles the superscript format. |
The Superscript() function returns the following values.
Value | Explanation |
0 (zero) | If none of the selection is formatted as superscript |
–1 | If part of the selection is formatted as superscript |
1 | If all the selection is formatted as superscript |
See Also
FormatFont, Subscript