Muokkaa

Jaa


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

See also

Document Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.