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

Range 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.