AutoFormatAsYouTypeApplyBorders Property
Applies To
Options object.
Description
True if a series of three or more hyphens (-), equal signs (=), or underscore characters ( _ ) are automatically replaced by a specific border line when the ENTER key is pressed. Read/write Boolean.
Remarks
Hyphens (-) are replaced by a 0.75-point line, equal signs (=) are replaced by a 0.75-point double line, and underscore characters ( _ ) are replaced by a 1.5-point line.
See Also
Borders property.
Example
This example causes sequences of three or more hyphens (-), equal signs (=), or underscore characters ( _ ) to be transformed into borders.
Options.AutoFormatAsYouTypeApplyBorders = True
This example returns the current setting for the Borders option on the AutoFormat As You Type tab in the AutoCorrect dialog box (Tools menu).
MsgBox Options.AutoFormatAsYouTypeApplyBorders