K
Krijn Michiels
Hi all,
I have following two problems: I have 2 templates (in the word startup
directory), called bst.dotm and dbh.dotm. They both contain some macro's.
What I want to do is :
- Create a custom tab called 'remmicom'
- In this tab, I want to see 2 'groups' called bst and dbh which contain the
buttons to call the macro's.
What I allready did was - using the Microsoft Office 2007 Custom UI Editor -
add following "code" both the dotm-files :
<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui">
<ribbon startFromScratch="false">
<tabs>
<tab id="customTab" label="Remmicom">
<group id="customGroup" label="BST"> (or DBH
in the other)
<button id="customButton" label="Custom
Button" imageMso="HappyFace" size="large" onAction="Callback" />
</group>
</tab>
</tabs>
</ribbon>
</customUI>
Everythings works out fine....exept I see 2 tab-pages called remmicom
(containing each 1 group).
** My first question is : is it possible to make sure that the customgroup
of both templates are shown in the same customtab (and how can I do
this).....Merging both templates is however not an option
** My second question is : is it possible to 'somehow automatically' add a
button (with a macro) to the QAT (so that everyone using the template has
that button in the QAT ?
Thanx in advance
Geert
I have following two problems: I have 2 templates (in the word startup
directory), called bst.dotm and dbh.dotm. They both contain some macro's.
What I want to do is :
- Create a custom tab called 'remmicom'
- In this tab, I want to see 2 'groups' called bst and dbh which contain the
buttons to call the macro's.
What I allready did was - using the Microsoft Office 2007 Custom UI Editor -
add following "code" both the dotm-files :
<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui">
<ribbon startFromScratch="false">
<tabs>
<tab id="customTab" label="Remmicom">
<group id="customGroup" label="BST"> (or DBH
in the other)
<button id="customButton" label="Custom
Button" imageMso="HappyFace" size="large" onAction="Callback" />
</group>
</tab>
</tabs>
</ribbon>
</customUI>
Everythings works out fine....exept I see 2 tab-pages called remmicom
(containing each 1 group).
** My first question is : is it possible to make sure that the customgroup
of both templates are shown in the same customtab (and how can I do
this).....Merging both templates is however not an option
** My second question is : is it possible to 'somehow automatically' add a
button (with a macro) to the QAT (so that everyone using the template has
that button in the QAT ?
Thanx in advance
Geert