Table of contents
TOC
Collapse the table of content
Expand the table of content

Application.VisualReportsEdit Method (Project)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

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

Syntax

expression. VisualReportsEdit( ** strVisualReportTemplateFile, ** PjVisualReportsDataLevel )

expression A variable that represents an Application object.

Parameters

NameRequired/OptionalData TypeDescription
strVisualReportTemplateFileOptionalStringFull path and the name of template file.
PjVisualReportsDataLevelOptionalLongData level for the template. Can be one of the PjVisualReportsDataLevel constants. The default is pjLevelAutomatic.

Return Value

Boolean

Remarks

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).

Example

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

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