Options.AutoFormatAsYouTypeApplyTables property (Word)

True if Word automatically creates a table when you type a plus sign, a series of hyphens, another plus sign, and so on, and then press ENTER. The plus signs become the column borders, and the hyphens become the column widths. Read/write Boolean.

Syntax

expression. AutoFormatAsYouTypeApplyTables

expression A variable that represents an Options object.

Example

This example sets Word to automatically create tables as you type.

Options.AutoFormatAsYouTypeApplyTables = True

This example returns the status of the Tables option on the AutoFormat As You Type tab in the AutoCorrect dialog box (Tools menu).

Dim blnAutoFormat as Boolean 
 
blnAutoFormat = Options.AutoFormatAsYouTypeApplyTables

See also

Options Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.