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