Share via


Paragraph.Format Property

Word Developer Reference

Returns or sets a ParagraphFormat object that represents the formatting of the specified paragraph or paragraphs.

Syntax

expression.Format

expression   Required. A variable that represents a Paragraph object.

Example

This example returns the formatting of the first paragraph in the active document and then applies the formatting to the selection.

Visual Basic for Applications
  Set paraFormat = ActiveDocument.Paragraphs(1).Format.Duplicate
Selection.Paragraphs.Format = paraFormat

See Also