Paragraphs.Last Property

Word Developer Reference

Returns a Paragraph object that represents the last item in the collection of paragraphs.

Syntax

expression.Last

expression   Required. A variable that represents a Paragraphs collection.

Example

This example formats the last paragraph in the active document to be right-aligned.

Visual Basic for Applications
  ActiveDocument.Paragraphs.Last.Alignment = wdAlignParagraphRight

See Also