XlToolbarProtection enumeration (Excel)

Specifies which properties of a toolbar are restricted. Options can be combined using Or.

Name Value Description
xlNoButtonChanges 1 No button changes permitted.
xlNoChanges 4 No changes of any kind.
xlNoDockingChanges 3 No changes to toolbar's docking position.
xlNoShapeChanges 2 No changes to toolbar shape.
xlToolbarProtectionNone -4143 All changes permitted.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.