AutoFormatReplaceFractions Property 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).

temp = Options.AutoFormatReplaceFractions