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