If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Help! Ribbon customisation
I have been given a template (.dotm) that adds its own ribbon tab -
but I am blowed if I can work out how. In the visual basic there is one module called RibbonCommands and in it are macros such as Sub NewMemo(ByVal control As IRibbonControl) Documents.Add "c:\Program Files\Microsoft Office\Templates\Memo.dotm" End Sub which equate to each button, but I cannot see where the NewMemo macro is called, how/where it is defining the button graphics, or the pull down menus that you get if you click on the buttons etc. I am not sure what was used to create the template. If I delete it from the startup directory the menu disappears, if I put it back (even without the documents it references) the buttons are there so it does appear that somewhere in that .dotm the ribbon bar is defined. Do I need to use a different tool to edit it? Christine |
#2
|
|||
|
|||
Help! Ribbon customisation
Sorry, just think I found out - the Custom UI tool... have just opened
it up using that and found loads of code I will need to try and understand but I think builds the menus. Why aren't these tools built into Word 2007?? I would have expected to be able to edit this stuff from the VB interface or the developer tab - not to have to download a new tool. oh well, on with the learning process - I used to be able to 'bend' Word 97 to do anything I wanted - 2007 is proving somewhat more resistant. Christine |
#3
|
|||
|
|||
Help! Ribbon customisation
It is called in XML and you need to open the xml component.
"xtine" wrote in message ... I have been given a template (.dotm) that adds its own ribbon tab - but I am blowed if I can work out how. In the visual basic there is one module called RibbonCommands and in it are macros such as Sub NewMemo(ByVal control As IRibbonControl) Documents.Add "c:\Program Files\Microsoft Office\Templates\Memo.dotm" End Sub which equate to each button, but I cannot see where the NewMemo macro is called, how/where it is defining the button graphics, or the pull down menus that you get if you click on the buttons etc. I am not sure what was used to create the template. If I delete it from the startup directory the menu disappears, if I put it back (even without the documents it references) the buttons are there so it does appear that somewhere in that .dotm the ribbon bar is defined. Do I need to use a different tool to edit it? Christine |
Thread Tools | |
Display Modes | |
|
|