TabIndent Method
Applies To
Paragraph object, ParagraphFormat object, Paragraphs collection object.
Description
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.
Syntax
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).
See Also
FirstLineIndent property, LeftIndent property, RightIndent property, TabHangingIndent method.
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)