Share via


Paragraph.Range Property

Word Developer Reference

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.

Visual Basic for Applications
  ActiveDocument.Paragraphs(1).Range.Style = wdStyleHeading1

See Also