Paragraphs.TabHangingIndent Method

Word Developer Reference

Sets a hanging indent to a specified number of tab stops.

Syntax

expression.TabHangingIndent(Count)

expression   Required. A variable that represents a Paragraphs collection.

Parameters

Name Required/Optional Data Type Description
Count Required Integer The number of tab stops to indent (if positive) or the number of tab stops to remove from the indent (if negative).

Remarks

You can also use this method to remove tab stops from a hanging indent if the value of Count is a negative number.

Example

This example sets a hanging indent all paragraphs in the active document.

Visual Basic for Applications
  ActiveDocument.Paragraphs.TabHangingIndent(2)

This example moves the hanging indent back one tab stop for all paragraphs in the active document.

Visual Basic for Applications
  ActiveDocument.Paragraphs.TabHangingIndent(-1)

See Also