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

Paragraphs Collection Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.