Application.OpenFromSharePoint Method (Project)

Opens a project from a task list in SharePoint 2013.

Syntax

expression. OpenFromSharePoint( _SiteURL_, _ListName_ )

expression An expression that returns an Application object.

Parameters

Name Required/Optional Data Type Description
SiteURL Optional String Specifies the URL of the SharePoint site.
ListName Optional String Specifies the name of the task list.

Return Value

Boolean

Remarks

Note Project must not be connected to a Project Server instance. Synchronization with SharePoint task lists is designed for users who do not have access to Project Server.

Example

The following example opens a project from a task list named TestTasks that is in the Simple project workspace.

Sub OpenSharePointTaskList() 
    OpenFromSharePoint siteurl:="https://ServerName/PWA/Simple", ListName:="TestTasks" 
End Sub