Skip to content

Latest commit

 

History

History
59 lines (35 loc) · 1.34 KB

Project.Application.OpenFromSharePoint.md

File metadata and controls

59 lines (35 loc) · 1.34 KB
title keywords f1_keywords ms.service api_name ms.assetid ms.date ms.localizationpriority
Application.OpenFromSharePoint method (Project)
vbapj.chm2293
vbapj.chm2293
project-server
Project.Application.OpenFromSharePoint
415f8b11-5c6f-d9df-fb58-61ff7f392b5f
06/08/2017
medium

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

[!includeSupport and feedback]