Paragraphs.KeepTogether Property

Word Developer Reference

True if all lines in the specified paragraphs remain on the same page when Microsoft Word repaginates the document. Read/write Long.

Syntax

expression.KeepTogether

expression   A variable that represents a Paragraphs collection.

Remarks

This property can be True, False, or wdUndefined.

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.

Visual Basic for Applications
  ActiveDocument.Paragraphs.KeepTogether = True

See Also