Results 1 to 3 of 3
  1. #1
    2 Star Lounger
    Join Date
    May 2006
    Location
    Portland, Oregon, USA
    Posts
    158
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Is there a way to rename the Standard or the Formatting Toolbar? Or, is there a way to lock a toolbar? I Inherited an add-in template for Word 2003. The new attorney would like her special icons and macros incorporated into the toolbar we currently use. When I open the template, the toolbars look like modified Standard and Formatting toolbars, but if I click on Tools/Customize/Toolbars and scroll to the bottom I can see these toolbars have a custom name. I cannot move them or edit the icons or even add to the toolbars. Any ideas?
    Thanks.
    Charlotte Quiroz

  2. #2
    Super Moderator
    Join Date
    Dec 2000
    Location
    New York, NY
    Posts
    2,970
    Thanks
    3
    Thanked 29 Times in 27 Posts
    There are ways to set the toolbars so they can't be customized (or turn off that setting), but it can't be done directly in the Word user interface - you need to use code.

    With the template open as the active document, try running code like this:
    Code:
    Private Sub TurnOffToolbarProtection()
       ActiveDocument.CommandBars("Name of Your Custom Toolbar").Protection = msoBarNoProtection
    End Sub
    or alternatively, you can just run:
    ActiveDocument.CommandBars("Name of Your Custom Toolbar").Protection = msoBarNoProtection
    In the Immediate window.

    If you type:
    ActiveDocument.CommandBars("Name of Your Custom Toolbar").Protection =
    inside of a procedure, the popup intellisense window will display the various options you have for controlling the protected status of the toolbar.

  3. #3
    2 Star Lounger
    Join Date
    May 2006
    Location
    Portland, Oregon, USA
    Posts
    158
    Thanks
    0
    Thanked 0 Times in 0 Posts
    The immediate window solution worked! Thank you!
    Charlotte Quiroz

Posting Permissions

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