ParagraphFormat.TabIndent method (Word)
Sets the left indent for the specified paragraphs to a specified number of tab stops.
Syntax
expression. TabIndent
( _Count_
)
expression Required. A variable that represents a 'ParagraphFormat' object.
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 an indent if the value of Count is a negative number.
Example
This example indents the selected paragraphs to the second tab stop.
Selection.ParagraphFormat.TabIndent(2)
This example moves the indent of the selected paragraphs back one tab stop.
Selection.ParagraphFormat.TabIndent(-1)
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for