Application.OpenServerPage method (Project)
Opens the specified page from Project Web App.
Syntax
expression. OpenServerPage
( _Page_
)
expression An expression that returns an Application object.
Parameters
Name | Required/Optional | Data type | Description |
---|---|---|---|
Page | Optional | PjServerPage | Specifies 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
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.