Partager via


Paragraphs.Last Property (Word)

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.

ActiveDocument.Paragraphs.Last.Alignment = wdAlignParagraphRight

See Also

Concepts

Paragraphs Collection Object

Paragraphs Object Members