Options.AutoFormatAsYouTypeReplaceFractions Property

Word Developer Reference

True if typed fractions are replaced with fractions from the current character set as you type. For example, "1/2" is replaced with "½." Read/write Boolean.

Syntax

expression.AutoFormatAsYouTypeReplaceFractions

expression   A variable that represents an Options collection.

Example

This example turns off the automatic replacement of typed fractions.

Visual Basic for Applications
  Options.AutoFormatAsYouTypeReplaceFractions = False

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

Visual Basic for Applications
  Dim blnAutoFormat as Boolean

blnAutoFormat = Options.AutoFormatAsYouTypeReplaceFractions

See Also