Application.VisualReports method (Project)

Opens the Visual Reports - Create Report dialog box to the specified tab.

Syntax

expression. VisualReports( _PjVisualReportsTab_ )

expression A variable that represents an Application object.

Parameters

Name Required/Optional Data type Description
PjVisualReportsTab Optional Long Specifies which tab to display. Can be one of the PjVisualReportsTab constants. The default is pjTabAll.

Return value

Boolean

Remarks

The VisualReports method returns False if successful.

The VisualReports method corresponds to the Visual Reports command on the REPORT tab of the ribbon, which accesses the reports that use Excel and Visio templates. For the newer Office Art types of reports, see the ReportsDialog method.

Note

The Reports method, for the older style of reports that require connection with a printer, is deprecated in Project.

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.