Results 1 to 4 of 4

Thread: share toolbar

  1. #1
    New Lounger
    Join Date
    Jun 2001
    Location
    Seattle, WA
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    share toolbar

    Hi,
    I have created a word template for general office use and saved it to a shared file. I also developed a custom tool bar to be used with it. I can't get the toolbar to load when I open the .dot file on other users computers. Any suggestions would be much appreciated. Thanks so much! Jennie

  2. #2
    4 Star Lounger
    Join Date
    Mar 2001
    Location
    Bismarck, ND, USA
    Posts
    451
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: share toolbar

    At the end of the Knowledge Base Article there is some helpful information: <A target="_blank" HREF=http://support.microsoft.com/support/kb/articles/Q191/1/78.ASP?LN=EN-US&SD=gn&FR=0&qry=q191178&rnk=2&src=DHCS_MSPSS_gn_ SRCH&SPR=WRD20>How to Work With Toolbars, Toolbar Buttons, etc.</A>
    egghead

  3. #3
    Silver Lounger Charles Kenyon's Avatar
    Join Date
    Jan 2001
    Location
    Sun Prairie, Wisconsin, Wisconsin, USA
    Posts
    2,049
    Thanks
    124
    Thanked 119 Times in 116 Posts

    Re: share toolbar

    Hi Jenny,

    The toolbar must be stored (along with any of its macros or other customizations) in the template. The default place that Word creates a toolbar is in Normal.dot.

    What follow are instructions on moving customizations to a global (or other template):

    To move your macros (and custom toolbars) to a global template,

    The simplest way is to open the template or create a new document based on the template. If you don't already have a global template, go to File => New and click "New Template" in the bottom right corner of the dialog box. Select blank document. You can use this document to keep notes on what you have done if you want. Save it using a name like "MyGlobal.dot." Don't close it.

    Use the Organizer:
    (Tools => Templates and Add-Ins... => Organizer (button) => Macro Project Items (tab)) to move it.

    Probably, the macros will be in the Macro Module "New Macros." in Normal.dot. If you already have a Module named "New Macros" in your template, rename it for now so you can copy the Module from Normal.dot to your template. If there are other modules in Normal.dot you want to copy those as well.

    Then close the Organizer and save your template.

    Use the VBA Editor (Alt-F11) to look at the New Macros module in your template (not the one in Normal.dot). You should be able to spot the macros that you use. Delete any other macros and Ctrl-S to save your changes to the Template. If you already had macros in your template and had to rename "New Macros," double-click on that module. For now, you will want to move all the macros to your new "New Macros" module. Then right-click on the Module that used to be "New Macros" and remove it. It will ask you if you want to export first; answer: No. With your insertion point back in the New Macros module of your template, press Ctrl-S to again save your template.

    Then double click on the Module "New Macros" in Normal.dot and delete the macros that you transferred to your template. Ctrl-S to save your changes to Normal.dot.

    If you have toolbars that you want to move, copy those as well, after you have copied any macros that the toolbars call. Styles won't do you much good in a global template. If you need to move those as well, write back and we'll get into it.

    Save and close your global template.

    For toolbars,
    Open a new blank document. Tools => Customize => Toolbars (1st Tab) and check your toolbars. Right-click on the selection and rename it xxx Old Toolbar. (We are doing this before deleting it. Want to check if new toolbar works and can't really do that without changing the name.) Close the Customize dialog box.

    Create a new document from your template. File => New... Check to see if your toolbars and macros function the way you want them to. Type something in the document and then close it without saving it. You should be prompted as to whether your want to save the changes made to MyGlobal.dot. Answer "Yes."

    Assuming that your toolbars and macros function properly, you can now use Tools => Customize (this time customizing Normal.dot) to delete "Anne's Old Toolbar." Quit Word and save your changes to Normal.dot.

    Next time, when you create a toolbar using the Customize command under the Tools menu, or Tools = Macros... to record a macro, check to make sure that it is being saved in the template that will be using it rather than in Normal.dot. Likewise, make sure that any changes you make to that toolbar or macro get saved in the template.

    This way, if you pass your template on to someone else, they will have the benefit of your toolbar and macros. Also, Normal.dot corrupts from time to time (even without the assistance of a virus). Rebuilding your customizations can be a real pain.


    How to create copyable customizations to the built-in toolbars and menus:

    Organizer will not copy customizations to built-in toolbars and menus, so you have to work around this limitation. The way I have used is:

    I create a shadow toolbar in my global template to hold my customizations. It has a custom menu for each built-in menu or toolbar that I customize.

    MyFile MyEdit MyView MyFormat, etc.

    I use a separate shadow toolbar for the shortcut menus but you could put them all on one if you wanted to, it depends on how many customizations you do. I include a custom menu named Chas that has some of my favorite templates and commands.

    I put the customizations on those custom menus on this custom toolbar first. That means using Customize to add the commands. Then, once I've added a command to the custom toolbar, I Ctrl-drag it to the built-in.

    You can use custom menus as a submenus to hold the deleted items, the simplest way to do this would be to move the items from the File menu to the MyFile | Deleted Items submenu and so forth.

    This isn't perfect but it makes rebuilding the customizations to the built-ins a lot less painful because the custom toolbar can be copied to another template using the organizer.



    How to move keybindings:

    These are the custom key assignments made to macros and commands. I use Chris Woodman's Add-In ShortCut Organizer, which looks and works like the regular Organizer except that it deals with keyboard shortcuts. You can download this from his ShortCut Organizer download page[/prl] (<A target="_blank" HREF=http://www.chriswoodman.uk>http://www.chriswoodman.uk).



    You must have hit a hot button for me on this. Whew! <img src=/S/doh.gif border=0 alt=doh width=15 height=15>

    See [url=http://www.addbalance.com/usersguide/templates.htm]Template Basics</A> (addbalance.com/usersguide/templates.htm) for more on templates (user and workgroup), global templates and Normal.dot.

    Hope this helps,
    Charles Kyle Kenyon
    Madison, Wisconsin

  4. #4
    New Lounger
    Join Date
    Jun 2001
    Location
    Seattle, WA
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: share toolbar

    Hi Charles & Egghead,
    Thanks for the help. I'm going to carefully follow your steps and I'll post how it goes. Thanks for taking the time to reply! I've got to get some lunch first, or I'll tear my hair out!

    Cheers, Jennie

Posting Permissions

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