Project.CheckIn method (Project)

Checks in the working copy of the project from a local computer to the SharePoint document library, and sets the local project to read-only so that it cannot be edited locally.

Syntax

expression. CheckIn( _SaveChanges_, _Comment_, _MakePublic_ )

expression A variable that represents a Project object.

Parameters

Name Required/Optional Data type Description
SaveChanges Optional Boolean True saves changes and checks in the document. False returns the document to a checked-in status without saving revisions.
Comment Optional String Comments for the revision of the project being checked in (applies only if SaveChanges equals True).
MakePublic Optional Boolean True allows the user to publish the project after it has been checked in. This submits the project for the approval process, which can eventually result in a version of the project being published to users with read-only rights to the project (applies only if SaveChanges equals True).

Remarks

The CheckIn method also closes the project after it is checked in.

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.