KeepTogether 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