title | keywords | f1_keywords | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|
Document.ClosePrintPreview method (Word) |
vbawd10.chm158007554 |
|
|
8b4beae3-1893-5dbf-4463-bbce0c63b8ee |
06/08/2017 |
medium |
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.ClosePrintPreview
ActiveDocument.ActiveWindow.View.Type = wdNormalView
[!includeSupport and feedback]