PrintPreview Method
TOC
Collapse the table of content
Expand the table of content

Document.PrintPreview Method (Word)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Switches the view to print preview.

expression .PrintPreview

expression Required. A variable that represents a Document object.

In addition to using the PrintPreview method, you can set the PrintPreview property to True or False to switch to or from print preview, respectively. You can also change the view by setting the Type property for the View object to wdPrintPreview.

This example switches the active document to print preview if it is currently in some other view.

If Application.PrintPreview = False Then 
 ActiveDocument.PrintPreview 
End If
Show:
© 2016 Microsoft