Export (0) Print
Expand All

Paragraph.Range Property

Office 2007
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



Community Additions

ADD
Show:
© 2015 Microsoft