Compartilhar via


Find.ParagraphFormat Property (Word)

Returns or sets a ParagraphFormat object that represents the paragraph settings for the specified find operation. Read/write.

Syntax

expression .ParagraphFormat

expression A variable that represents a Find object.

Example

This example finds all double-spaced paragraphs in the active document and replaces the formatting with 1.5-line spacing.

With ActiveDocument.Content.Find 
 .ClearFormatting 
 .ParagraphFormat.Space2 
 .Replacement.ClearFormatting 
 .Replacement.ParagraphFormat.Space15 
 .Execute FindText:="", ReplaceWith:="", _ 
 Replace:=wdReplaceAll 
End With

See Also

Concepts

Find Object

Find Object Members