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)

property Object^ Locked {
	Object^ get();
	void set(Object^ value);
}

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.

Return to top
Show: