Results 1 to 3 of 3
  1. #1
    2 Star Lounger
    Join Date
    Oct 2007
    Posts
    172
    Thanks
    0
    Thanked 2 Times in 1 Post
    Our company is about to move from office 2003 to 2010.

    In Word 2003 created a style template which is used widely throughout the company. When creating a new document based on this style template, a bit of VBA runs in the Autonew function and loads an add-in from a separate file which contains all my macros. I did it this way to keep the (style) template separate from the macros. The macros add-in file contains the toolbars to access the macros, and these are then visible when the user creates a document based on the style template. The toolbars have icons which I created myself - they are essentially slightly modified versions of the standard icons, which I created in a simple free icon program. In Office 2003, if you right-click on a toolbar and select "Customize" you can actually copy and paste the icons, which is how I got started.

    I now have to move to Word 2010.

    I understand I am in a better position than those folks trying to customize the ribbon in Office 2007! But obviously my old toolbars now appear in a separate "Add-Ins" tab on the ribbon. I want to create a proper ribbon tab of my own in the macros add-in file which will be visible only when the add-in is loaded by the style template.

    I understand how to customize the office ribbon, but there's some things I don't understand.

    * it seems that if I create a new Group in the ribbon, this is then available for all word documents. In Word 2003, my custom toolbars were linked to the macros add-in and they only appeared when the user opened or created a document based on the style template (which in turn loaded the add-ins). How can I achieve similar behaviour in Word 2010? If I add a new ribbon tab based on the macros using the "Customize Ribbon" functionality, this tab is available for all word documents and if I open a document which is NOT based on the style template, I click on the buttons I naturally get an error message because the macros aren't available. This is annoying beacuse the tab would be useless for the majority of documents.

    * In Office 2003, the toolbars appeared automatically with the add-in. The user did not have to customize anything. In Word 2010, it seems that each user would have to set up their machine to show the new tab by customizing the ribbon on their local machine. Is there a way round this? I only want the tab to show up in the ribbon if the user opens a document based on the template. Can I achieve this?

    * Only a very limited number of icons are available and selectable from the "rename.." dialog in the "Customize Ribbon" window. How can I install or select other icons to use? Specifically, is there a way to get the icons from my Word 2003 toolbars and make them available for use in the Ribbon?

    hope you can help!!

    cheers
    Dominic

  2. #2
    2 Star Lounger
    Join Date
    Oct 2007
    Posts
    172
    Thanks
    0
    Thanked 2 Times in 1 Post
    http://msdn.microsoft.com/en-us/magazine/cc163469.aspx

    tells you all you need to know. This is exactly my problem.

    I just need to solve the issue of how to load the new kind of add-in (*.dotm file) using VBA.

    cheers
    Dom

  3. #3
    Super Moderator
    Join Date
    Dec 2000
    Location
    New York, NY
    Posts
    2,970
    Thanks
    3
    Thanked 29 Times in 27 Posts
    This thread is identical to the one posted in the Word Processing forum, so I'm locking this thread.

    Dom, if you want to re-add your post with the link to the MSDN article, please add it to the thread in Word Processing.

    Gary

Posting Permissions

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