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