Expand Minimize

Options.AutoFormatAsYouTypeApplyBorders Property (Word)

Published: July 16, 2012

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.

expression .AutoFormatAsYouTypeApplyBorders

expression A variable that represents an Options collection.

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.

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

Community Additions

ADD
Show:
© 2014 Microsoft