Help! Ribbon customisation

  • Thread starter Thread starter xtine
  • Start date Start date
X

xtine

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
 
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
 
Back
Top