Document.ClosePrintPreview Method (Word)

Office 2013 and later

Contribute to this content

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

Switches the specified document from print preview to the previous view.

expression .ClosePrintPreview

expression Required. A variable that represents a Document object.

If the specified document isn't in print preview, an error occurs.

This example switches the active window from print preview to normal view.

If ActiveDocument.PrintPreview = True Then _ 
ActiveDocument.ActiveWindow.View.Type = wdNormalView