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 Project tab of the Ribbon, for the newer style of reports that use Microsoft Excel or Microsoft Visio. For the older style of reports, see the Reports method.