Application.OpenServerPage Method (Project)
Opens the specified page from Microsoft Project Server 2010.
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 Microsoft Project Server 2010. Can be one of the PjServerPage constants. The default is pjServerPageApprovals. |
Return Value
Boolean
Remarks
The OpenServerPage method is available in Microsoft Project Professional 2010.
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