Word 2007 customization using template



Hi All,

I am customizing Word 2007 ribbon by using XML in Word template. I am tuning
'on' and 'off' few options on Office button and 'Review' tab. Following is
XML code of my.docm:

<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui">
<command idMso="FileExit" enabled="false"/>

<ribbon startFromScratch="false">
<button idMso="FileNew" visible="false"/>
<button idMso="FileOpen" visible="false"/>
<!--button idMso="FileSave" visible="false" /-->
<menu idMso="FileSaveAs">
<button idMso="FileSaveAsMenu" visible="false" />
<button idMso="FileSaveAs" visible="false" />

<tab idMso="TabReviewWord">
<group idMso="GroupChangesTracking" visible="false" />


I want to make 'Review' tab as either first tab, instead of 'Home' OR make
'Review' tab in focus - just like a user, after opening 'my.docm' clicked on
'Review' tab. How can this be done using XML?



Doug Robbins - Word MVP

Try using


Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP, originally posted via msnews.microsoft.com


Hi Doug,

I used insertBeforeMso:

<tab idMso="TabReviewWord" insertBeforeMso="TabHome">
<group idMso="GroupChangesTracking" visible="false" />

but Review tab remains on its place. I am new to XML and the template XML
was written after several tries using MSDN etc. I do not want to create my
custom 'Review' tab - just to make it in focus.

Thanks again,


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question