This documentation is archived and is not being maintained.

Range.ParagraphFormat Property

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



expression   A variable that represents a Range object.


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.

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