title | keywords | f1_keywords | ms.service | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|---|
Application.CheckOut method (Project) |
vbapj.chm2332 |
|
project-server |
|
36e19455-a77d-46d5-c5c0-60f07feeba13 |
06/08/2017 |
medium |
Checks out the active project file if it is stored in a SharePoint library.
expression. CheckOut
expression A variable that represents an Application object.
Boolean
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]