_Workbook.LockServerFile Method
Locks the workbook on the server to prevent modification.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Sub LockServerFile
'Usage
Dim instance As _Workbook
instance.LockServerFile()
void LockServerFile()