Workbook.CheckIn(Object, Object, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a workbook from a local computer to a server, and sets the local workbook to read-only so that it cannot be edited locally. Calling this method closes the workbook.
public void CheckIn (object SaveChanges, object Comments, object MakePublic);
abstract member CheckIn : obj * obj * obj -> unit
Public Sub CheckIn (Optional SaveChanges As Object, Optional Comments As Object, Optional MakePublic As Object)
Parameters
- SaveChanges
- Object
true
saves changes and checks in the document; false
returns the document to a checked-in status without saving revisions.
- Comments
- Object
Allows the user to enter check-in comments for the revision of the workbook being checked in (applies only if SaveChanges
equals true
).
- MakePublic
- Object
true
allows the user to publish the workbook after it has been checked in. This submits the workbook for the approval process, which can eventually result in a version of the workbook being published to users with read-only rights to the workbook (applies only if SaveChanges
equals true
).
Remarks
Optional Parameters
For information on optional parameters, see Optional Parameters in Office Solutions.