NamedRange.Locked Property

Gets or sets a value that indicates whether the NamedRange control is locked.

Namespace:  Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)

Object Locked { get; set; }

Property Value

Type: System.Object
true if the NamedRange control is locked; false if the NamedRange control can be modified when the sheet is protected; null if the NamedRange control contains both locked and unlocked cells.

Community Additions

ADD
Show: