NamedRange.Locked Property

Definition

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

public:
 property System::Object ^ Locked { System::Object ^ get(); void set(System::Object ^ value); };
public object Locked { get; set; }
member this.Locked : obj with get, set
Public Property Locked As Object

Property Value

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.

Applies to