Skip to content

Latest commit

 

History

History
49 lines (31 loc) · 1.06 KB

Project.Application.CheckOut.md

File metadata and controls

49 lines (31 loc) · 1.06 KB
title keywords f1_keywords ms.service api_name ms.assetid ms.date ms.localizationpriority
Application.CheckOut method (Project)
vbapj.chm2332
vbapj.chm2332
project-server
Project.Application.CheckOut
36e19455-a77d-46d5-c5c0-60f07feeba13
06/08/2017
medium

Application.CheckOut method (Project)

Checks out the active project file if it is stored in a SharePoint library.

Syntax

expression. CheckOut

expression A variable that represents an Application object.

Return value

Boolean

Example

This example verifies that a project is not checked out by another user and can be checked out. If the project can be checked out, it copies the project to the local computer for editing.

Sub CheckOutProject(docCheckOut As String) 
 
 ' Determine if project can be checked out. 
 If Projects.CanCheckOut(docCheckOut) = True Then 
 Projects.CheckOut docCheckOut 
 Else 
 MsgBox "Unable to check out this project at this time." 
 End If 

[!includeSupport and feedback]