ParagraphFormat.WidowControl Property

Word Developer Reference

True if the first and last lines in the specified paragraph remain on the same page as the rest of the paragraph when Word repaginates the document. Can be True, False or wdUndefined. Read/write Long.

Syntax

expression.WidowControl

expression   A variable that represents a ParagraphFormat object.

Example

This example formats the paragraphs in the active document so that the first or last line in a paragraph can appear by itself at the top or bottom of a page.

Visual Basic for Applications
  ActiveDocument.Paragraphs.WidowControl = False

See Also