Application.VisualReportsEdit Method

Project Developer Reference

Opens the default or 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 Open data level. Can be one of the PjVisualReportsDataLevel constants. Default is pjLevelAutomatic.

Return Value
Boolean

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

Visual Basic for Applications
  Application.VisualReportsEdit("C:\MyTemplate.xlt", pjMonths)

See Also