Edit

Share via


Range.Locked Property

Definition

Determines if the object is locked.

public:
 property System::Object ^ Locked { System::Object ^ get(); void set(System::Object ^ value); };
public object Locked { get; set; }
Public Property Locked As Object

Property Value

Remarks

This property returns True if the object is locked, False if the object can be modified when the sheet is protected, and Null if the specified range contains both locked and unlocked cells.

Applies to