Presentations.CanCheckOut Method
PowerPoint Developer Reference |
Returns True if Microsoft Office PowerPoint can check out a specified presentation from a server.
Syntax
expression.CanCheckOut(FileName)
expression A variable that represents a Presentations object.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
FileName | Required | String | The server path and name of the presentation. |
Return Value
Boolean
Remarks
To take advantage of the collaboration features built into PowerPoint, you must store presentations on a Microsoft Office SharePoint Portal Server.
Example
This example verifies that a presentation is not checked out by another user and that it can be checked out. If the presentation can be checked out, it copies the presentation to the local computer for editing.
Visual Basic for Applications |
---|
|
To call the subroutine above, use the following subroutine and replace the "http://servername/workspace/report.ppt" file name with an actual file located on a server mentioned in the Remarks section above.
Visual Basic for Applications |
---|
|
See Also