AutoFormatAsYouTypeApplyBorders 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