Share via


Paragraph.KeepWithNext Property (Word)

True if the specified paragraph remains on the same page as the paragraph that follows it when Microsoft Word repaginates the document. Read/write Long.

Syntax

expression .KeepWithNext

expression A variable that represents a Paragraph object.

Remarks

This property can be True, False, or wdUndefined.

Example

This example keeps the third paragraph through sixth paragraph in the active document on the same page.

For i = 3 To 5 
 ActiveDocument.Paragraphs(i).KeepWithNext = True 
Next i

See Also

Concepts

Paragraph Object Members

Paragraph Object