Protection Property

Protection Property

         Example         Applies To         Specifics

Returns or sets the way a command bar is protected from user customization. Can be one or more of the following MsoBarProtection constants: msoBarNoProtection, msoBarNoCustomize, msoBarNoResize, msoBarNoMove, msoBarNoChangeVisible, msoBarNoChangeDock, msoBarNoVerticalDock, or msoBarNoHorizontalDock. Read/write Long.

Remarks

Using the constant msoBarNoCustomize prevents users from accessing the Add or Remove Buttons menu (this menu enables users to customize a toolbar).