KeepTogether Property

Applies To

Paragraph object, ParagraphFormat object, Paragraphs collection object.

Description

True if all lines in the specified paragraphs remain on the same page when Word repaginates the document. Can be True, False, or wdUndefined. Read/write Long.

See Also

KeepWithNext property, WidowControl property.

Example

This example formats the paragraphs in the active document so that all the lines in each paragraph are on the same page when Word repaginates the document.

ActiveDocument.Paragraphs.KeepTogether = True