DisplayFormat.Locked Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value that indicates if the associated Range object is locked as it is displayed in the current user interface.
public:
property System::Object ^ Locked { System::Object ^ get(); };
public object Locked { get; }
Public ReadOnly Property Locked As Object
Property Value
Indicates if the associated Range object is locked as it is displayed in the current user interface.
Remarks
Read-only.
Returns true if the range is locked, false if the range can be modified when the sheet is protected, or a null reference (Nothing in Visual Basic) if the range contains both locked and unlocked cells.