Document.Repaginate Method (Word)
Repaginates the entire document.
Syntax
expression .Repaginate
expression Required. A variable that represents a Document object.
Example
This example repaginates the active document if it has changed since the last time it was saved.
If ActiveDocument.Saved = False Then ActiveDocument.Repaginate
This example repaginates all open documents.
For Each doc In Documents
doc.Repaginate
Next doc