JimFromTN
07-14-2008, 01:37 PM
I have the following xml code in a template file (dotm). When I assign this dotm file to a word document, the new buttons on the Quick Access Toolbar do not show up. While I have this document open, if I open a recent document off of the office menu, the new document will open in a separate window and the buttons will show up on the original document that I assigned the template to. It's almost as if something is not initializing until I open another document and then pass focus back to the original document. I can place the standard buttons on the QAT along with the macro buttons and the standard buttons will show up as soon as word is opened but the macro buttons won't. Is this a bug in word 2007 or am I missing something in the XML file, the VBA, or possibly something in the setup of Word 2007?
<ribbon startFromScratch="true">
<qat>
<documentControls>
<button id="PrevDoc" abel="Previous Document" mageMso="GoRtl"
onAction="PreviousDocument"/>
<button id="NextDoc" abel="Next Document" ImageMso="GoLeftToRight" onAction="NextDocument"/>
</documentControls>
</qat>
</ribbon>
<ribbon startFromScratch="true">
<qat>
<documentControls>
<button id="PrevDoc" abel="Previous Document" mageMso="GoRtl"
onAction="PreviousDocument"/>
<button id="NextDoc" abel="Next Document" ImageMso="GoLeftToRight" onAction="NextDocument"/>
</documentControls>
</qat>
</ribbon>