Partager via


Paragraphs.Count Property (Word)

Returns a Long that represents the number of paragraphs in the collection. Read-only.

Syntax

expression .Count

expression Required. A variable that represents a Paragraphs collection.

Example

This example displays the number of paragraphs in the active document.

MsgBox "The active document contains " & _ 
 ActiveDocument.Paragraphs.Count & " paragraphs."

See Also

Concepts

Paragraphs Object Members

Paragraphs Collection Object