Document.PrintPreview method (Word)
Switches the view to print preview.
Syntax
expression. PrintPreview
expression Required. A variable that represents a Document object.
Remarks
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.
Example
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
See also
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.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for