AutoFormatApplyFirstIndents Property

Microsoft Word Visual Basic

expression.AutoFormatApplyFirstIndents

expression    Required. An expression that returns an Options object.

Example

This example sets Microsoft Word to replace a space entered at the beginning of a paragraph with a first-line indent and automatically formats the selected range.

Options.AutoFormatApplyFirstIndents = True
Selection.Range.AutoFormat