Workbooks.CanCheckOut Method
True if Microsoft Excel can check out a specified workbook from a server. Read/write Boolean.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Function CanCheckOut ( _
Filename As String _
) As Boolean
'Usage
Dim instance As Workbooks
Dim Filename As String
Dim returnValue As Boolean
returnValue = instance.CanCheckOut(Filename)
bool CanCheckOut(
string Filename
)
Parameters
Filename
Type: System.StringRequired String. The name of the file to check out.
Return Value
Type: System.Boolean