PrintPreview Property

Microsoft Word Visual Basic

expression.PrintPreview

expression    Required. An expression that returns one of the objects in the Applies To list.

Example

This example switches the view to print preview.

PrintPreview = True
		

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

PrintPreview = False
ActiveDocument.ActiveWindow.View.Type = wdNormalView