This documentation is archived and is not being maintained.

XlToolbarProtection Enumeration 

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

Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in

Dim xlToolbarProtection1 As XlToolbarProtection = XlToolbarProtection.xlNoButtonChanges

public enum XlToolbarProtection
public enum XlToolbarProtection
public enum XlToolbarProtection

Member nameDescription
xlNoButtonChangesNo button changes permitted.
xlNoChangesNo changes of any kind.
xlNoDockingChangesNo changes to toolbar's docking position.
xlNoShapeChangesNo changes to toolbar shape.
xlToolbarProtectionNoneAll changes permitted.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms