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 don't 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

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.