Application.OpenServerPage method (Project)
Opens the specified page from Project Web App.
expression. OpenServerPage
( _Page_
)
expression An expression that returns an Application object.
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. |
Boolean
Available in Project Professional only. Project must be connected to a Project Web App instance.
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
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.