Options.AutoFormatReplaceFractions property (Word)

True if typed fractions are replaced with fractions from the current character set when Word formats a document or range automatically. For example, "1/2" is replaced with "½." Read/write Boolean.

Syntax

expression. AutoFormatReplaceFractions

expression A variable that represents an Options object.

Example

This example turns on the replacement of typed fractions, and thenit formats the current selection automatically.

Options.AutoFormatReplaceFractions = True 
Selection.Range.AutoFormat

This example returns the status of the Fractions (1/2) with fraction character (½) option on the AutoFormat tab in the AutoCorrect dialog box (Tools menu).

Dim blnAutoFormat as Boolean 
 
blnAutoFormat = Options.AutoFormatReplaceFractions

See also

Options Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.