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

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