Selection.ParagraphFormat property (Word)

Returns or sets a ParagraphFormat object that represents the paragraph settings for the specified selection. Read/write.

Syntax

expression. ParagraphFormat

expression A variable that represents a Selection object.

Example

This example sets the paragraph formatting for the current selection to be right-aligned.

Selection.ParagraphFormat.Alignment = wdAlignParagraphRight

See also

Selection Object

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.