ParagraphFormat.WidowControl property (Word)

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.

ActiveDocument.Paragraphs.WidowControl = False

See also

ParagraphFormat 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.