Workbook.LockServerFile (Excel)

Locks the workbook on the server to prevent modification.


ActiveWorkbook.LockServerFile