TextRange.IndentLevel property (PowerPoint)
Returns or sets the indent level for the specified text as an integer from 1 to 5, where 1 indicates a first-level paragraph with no indentation. Read/write.
Syntax
expression.IndentLevel
expression A variable that represents an TextRange object.
Return value
Long
Example
This example indents the second paragraph in shape two on slide two in the active presentation.
Application.ActivePresentation.Slides(2).Shapes(2).TextFrame _
.TextRange.Paragraphs(2).IndentLevel = 2
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