title | keywords | f1_keywords | ms.service | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|---|
Application.VisualReportsEdit method (Project) |
vbapj.chm2143 |
|
project-server |
|
ba439985-f18b-f9a3-23d5-3d5ae39c50dc |
06/08/2017 |
medium |
Opens the default or a specified Visual Reports template for editing.
expression. VisualReportsEdit
( _strVisualReportTemplateFile_
, _PjVisualReportsDataLevel_
)
expression A variable that represents an Application object.
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. |
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)
[!includeSupport and feedback]