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

Application.OpenServerPage Method (Project)

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

Opens the specified page from Project Web App.

Syntax

expression. OpenServerPage( ** Page** )

expression An expression that returns an Application object.

Parameters

NameRequired/OptionalData TypeDescription
PageOptionalPjServerPageSpecifies the page to open from Project Web App. Can be one of the PjServerPage constants. The default is pjServerPageApprovals.

Return Value

Boolean

Remarks

Available in Project Professional only. Project must be connected to a Project Web App instance.

Example

The following example opens the Issues page in the SharePoint workspace for the active project, and then opens the Project Center page in

Project Web App

. Internet Explorer shows the pages in separate windows.

Sub OpenPages() 
    OpenServerPage Page:=pjServerPageIssues 
    OpenServerPage pjServerPageProjectCenter 
End Sub
© 2018 Microsoft