Workbooks.CheckOut Method
Returns a String representing a specified workbook from a server to a local computer for editing.
Syntax
expression.CheckOut(Filename)
expression A variable that represents a Workbooks object.
Parameters
| Name | Required/Optional | Data Type | Description |
|---|---|---|---|
| Filename | Required | String | The name of the file to check out. |
Example
This example verifies that a workbook is not checked out by another user and can be checked out. If the workbook can be checked out, it copies the workbook to the local computer for editing.
| Visual Basic for Applications |
|---|
|