Paragraphs.KeepWithNext Property

Word Developer Reference

True if the specified paragraphs remain on the same page as the paragraphs that follow it when Microsoft Word repaginates the document. Read/write Long.

Syntax

expression.KeepWithNext

expression   A variable that represents a Paragraphs collection.

Remarks

This property can be True, False, or wdUndefined.

Example

This example sets all paragraphs in the current selection to be on the same page.

Visual Basic for Applications
  Selection.Paragraphs.KeepWithNext = True

See Also