Share via


Slicer.Locked Property (Excel)

Returns or sets whether the specified slicer can be modified when the sheet that contains it is protected. Read/write.

Version Information

Version Added: Excel 2010

Syntax

expression .Locked

expression A variable that represents a Slicer object.

Return Value

Boolean

Remarks

True if the slicer is locked when the sheet is protected. False if the slicer can be modified when the sheet is protected. The default value is True.

See Also

Concepts

Slicer Object Members

Slicer Object