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.