ParagraphFormat2 object (Office)

Represents the paragraph formatting of a text range.

Example

The following example left aligns the paragraphs in shape two on slide one in the active PowerPoint presentation.

ActivePresentation.Slides(1).Shapes(2).TextFrame2.TextRange2 _ 
 .ParagraphFormat2.Alignment = ppAlignLeft 

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.