Selection.ParagraphFormat Property

Word Developer Reference

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.

Visual Basic for Applications
  Selection.ParagraphFormat.Alignment = wdAlignParagraphRight

See Also