Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

Application.VisualReportsEdit Method (Project)

Opens the default or a specified Visual Reports template for editing.

expression .VisualReportsEdit(strVisualReportTemplateFile, PjVisualReportsDataLevel)

expression A variable that represents an Application object.

Parameters

Name

Required/Optional

Data Type

Description

strVisualReportTemplateFile

Optional

String

Full path and the name of template file.

PjVisualReportsDataLevel

Optional

Long

Data level for the template. Can be one of the PjVisualReportsDataLevel constants. The default is pjLevelAutomatic.

Return Value

Boolean

The PjVisualReportsDataLevel parameter specifies the level to which the timephased data can be accessed. For example, if pjLevelMonths (months) is specified, it not possible to access pjLevelDays (days).

The following example opens the "MyTemplate.xlt" template, with a data level of months.

Application.VisualReportsEdit("C:\MyTemplate.xlt", pjMonths)
Show:
© 2015 Microsoft