TabIndent Method

Microsoft Word Visual Basic

Sets the left indent for the specified paragraphs to a specified number of tab stops. Can also be used to remove the indent if the value of Count is a negative number.

expression.TabIndent(Count)

expression    Required. An expression that returns a Paragraph, Paragraphs, or ParagraphFormat object.

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).

Example

This example indents the first paragraph in the active document to the second tab stop.

ActiveDocument.Paragraphs(1).TabIndent(2)
		

This example moves the indent of the first paragraph in the active document back one tab stop.

ActiveDocument.Paragraphs(1).TabIndent(-1)