PrintPreview Property

Microsoft Publisher 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.

Sub GoToPrintPreview()
    PrintPreview = True
End Sub