MsoBarProtection Enumeration (Office)

Specifies how a command bar is protected from user customization.

Name Value Description
msoBarNoChangeDock 16 Docking setting cannot be changed.
msoBarNoChangeVisible 8 Command bar cannot be hidden.
msoBarNoCustomize 1 Command bar cannot be customized.
msoBarNoHorizontalDock 64 Command bar cannot be docked to the top or bottom.
msoBarNoMove 4 Command bar cannot be moved.
msoBarNoProtection 0 All aspects of command bar can be customized by user.
msoBarNoResize 2 Command bar cannot be resized.
msoBarNoVerticalDock 32 Command bar cannot be docked to the left or right.