Partager via


Paragraph.Range Property (Word)

Returns a Range object that represents the portion of a document that is contained within the specified paragraph.

Syntax

expression .Range

expression Required. A variable that represents a Paragraph object.

Example

This example applies the Heading 1 style to the first paragraph in the active document.

ActiveDocument.Paragraphs(1).Range.Style = wdStyleHeading1

See Also

Concepts

Paragraph Object Members

Paragraph Object