KeepWithNext Property 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