Application.ReportPrintPreview method (Project)

Deprecated in Project. Shows an on-screen preview of a printed report.

Syntax

expression. ReportPrintPreview( _Name_ )

expression A variable that represents an Application object.

Parameters

Name Required/Optional Data type Description
Name Optional String The name of a report for which to show an on-screen preview.

Return value

Boolean

Remarks

In Project, the ReportPrintPreview method returns error 1100, "The method is not available in this situation." In Project, if you execute the ReportPrintPreview method with no argument, it displays the Custom Reports dialog box.

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.