JavaScript must be enabled in order to use this site.Please enable JavaScript in your browser and refresh the page. Workbook.SetLockUI Use this function to lock the Workbook User Interface. Syntax Parameters Return value Sub Workbook.SetLockUI( _ LockLevel As WorkbookLockUILevel, _ Optional Password As Variant) LockLevel [in] Type: Password [in, optional] Type: Variant This function does not return a value. Copyright © 2020. TIBCO Software Inc. All Rights Reserved.