Project.Checkin

H

HMS Software

I am trying to use this method in my application, but no matter how I format
thge command with or without parameters, I always get the following error "
an unexpected error occurred with the method".
Has anyone used this method successfully? I am basing my syntax on the
following VBA help in MS Project when you search for "Checkin"

Thanks
Steve

----------------------------------------------
Project Developer Reference
Project.CheckIn Method
Returns the working copy of the project from a local computer to the Windows
SharePoint Services server, and sets the local project to read-only so that
it cannot be edited locally. Calling this method will also close the project.
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 Variant .. Allows the user to enter check-in 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).

© 2006 Microsoft Corporation. All rights reserved.



See Also
Project Object
Project Object Members
 
M

Mike Glen

Hi Steve,

Try posting on the developer newsgroup as this one is closing down. Please
see FAQ Item: 24. Project Newsgroups. FAQs, companion products and other
useful Project information can be seen at this web
address:http://project.mvps.org/faqs.htm .

Mike Glen
Project MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top