Skip to content

Latest commit

 

History

History
55 lines (32 loc) · 1.49 KB

Project.Application.VisualReportsEdit.md

File metadata and controls

55 lines (32 loc) · 1.49 KB
title keywords f1_keywords ms.service api_name ms.assetid ms.date ms.localizationpriority
Application.VisualReportsEdit method (Project)
vbapj.chm2143
vbapj.chm2143
project-server
Project.Application.VisualReportsEdit
ba439985-f18b-f9a3-23d5-3d5ae39c50dc
06/08/2017
medium

Application.VisualReportsEdit method (Project)

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

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

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)

[!includeSupport and feedback]