Results 1 to 5 of 5
  1. #1
    New Lounger
    Join Date
    Aug 2006
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Remove Add/Remove Buttons from Toolbars (Word 2003)

    Is there a way to remove or disable the Add/Remove Buttons buton at then end of toolbars in Word 2003? I don't want my users to be able to customize their toolbars.

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Remove Add/Remove Buttons from Toolbars (Word 2003)

    No, but you can specify that a command bar (i.e. toolbar or menu bar) cannot be customized, for example:

    CommandBars("Standard").Protection = msoBarNoCustomize

    If you want to make all toolbars non-customizable:

    Sub DisableCustomize()
    Dim cbr As CommandBar
    On Error Resume Next
    For Each cbr In CommandBars
    cbr.Protection = msoBarNoCustomize
    Next cbr
    End Sub

  3. #3
    New Lounger
    Join Date
    Aug 2006
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Remove Add/Remove Buttons from Toolbars (Word 2003)

    Thanks! I'll give that a shot.

  4. #4
    4 Star Lounger
    Join Date
    Dec 2003
    Location
    Zoetermeer, Zuid-Holland, Netherlands
    Posts
    559
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Remove Add/Remove Buttons from Toolbars (Word 2003)

    <P ID="edit" class=small>(Edited by JanB on 30-Oct-06 09:10. added second sentence)</P>There's another very useful command preventing users to accidently hide a (custom) toolbar and then calling the helpdesk to get it back again. It removes the commandbar from the list you get when you right-click on the toolbar area.

    CommandBars("MyBar").Protection = msoBarNoChangeVisible

  5. #5
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Remove Add/Remove Buttons from Toolbars (Word 2003)

    As an addition to Jan's suggestion: you can set multiple properties of a toolbar in one instruction by combining them using Or or +. For example:

    Commandbars("Standard").Protection = msoBarNoChangeVisible Or msoBarNoCustomize

    or

    Commandbars("Standard").Protection = msoBarNoChangeVisible + msoBarNoCustomize

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •