Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Find out who has file checked out on Sharepoint

Status
Not open for further replies.

primagic

IS-IT--Management
Jul 24, 2008
476
GB
I have the code which checks if the file has been checked out on Sharepoint. Is there anyway of finding out who has the file checked out using VBA (Excel).

Thanks
 
Code:
If Workbooks.CanCheckOut(xlFile) = True Then
Workbooks.CheckOut xlFile

'...code here does stuff

'Save Workbook
ActiveWorkbook.Save

'Check In Workbook back to sharepoint
ActiveWorkbook.CheckIn

Else

MsgBox ("The file is currently in use. You are unable to check out this document at this time. Please try again later"), vbInformation, "File already checked out"
End If
    End With
    Exit Sub
 
Doesn't appear that there is a property that identifies who has checked out.
 
Yes I know. That is my question. Can we find out who checked out the file? What is the syntax?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top