AutoFormatAsYouTypeApplyHeadings Property
Applies To
Options object.
Description
True if styles are automatically applied to headings as you type. Read/write Boolean.
See Also
AutoFormatApplyHeadings property, Styles property.
Example
This example sets Word to automatically apply the Heading1 through Heading 9 styles to headings as you type.
Options.AutoFormatAsYouTypeApplyHeadings = True
This example returns the status of the Headings option on the AutoFormat As You Type tab in the AutoCorrect dialog box (Tools menu).
temp = Options.AutoFormatAsYouTypeApplyHeadings