Partager via


Range.ParagraphFormat Property (Word)

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

Syntax

expression .ParagraphFormat

expression A variable that represents a Range object.

Example

This example sets paragraph formatting for a range that includes the entire contents of MyDoc.doc. Paragraphs in this document are double-spaced and have a custom tab stop at 0.25 inch.

Set myRange = Documents("MyDoc.doc").Content 
With myRange.ParagraphFormat 
 .Space2 
 .TabStops.Add Position:=InchesToPoints(.25) 
End With

See Also

Concepts

Range Object

Range Object Members