altering the positions of tabs on the ribbon: ribbon customization

G

gil

Hi All,
I'd like to change my Word2007 ribbon so that the Addins tabs is either to the immediate right or left of my Home tab. I am using
the a Custom UI editor and the ribbon code in the attached template at present is:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui">
<ribbon>
<tabs>
<tab idMso="TabHome" label="EMR-Home">
<group id="CustomGroup" label="toolbars" insertBeforeMso="GroupClipboard">
<button id="Btn1" label="a 2003 toolbar" imageMso="VisualBasic"
onAction="RibbonControl.MyBtnMacro" />
<button id="Btn2" label="Familiar old toolbar" imageMso="VisualBasic"
onAction="RibbonControl.MyBtnMacro2" />
<button id="Btn3" label="EMR toolbar" imageMso="VisualBasic"
onAction="RibbonControl.MyBtnMacro3" />
<button id="GroupAddinsCustomToolbars" label="EMRmoved" imageMso="VisualBasic"
onAction="RibbonControl.GroupAddinsCustomToolbars" />
</group>
</tab>
<tab idMso="TabAddIns" label="EMR-Addins">
</tab>
</tabs>
</ribbon>
</customUI>

I understand that I can hide a tab with something like the following for the insert tab:
<tab idMso="TabInsert" visible="false" />

How would I change my code to get what I am seeking?

Cheers,
Gil
Ten Second Medical RecordTM
http://www.TenSecondMedicalRecord.com
http://www.KeyChainEMR.com
Asheville, North Carolina
 
D

Doug Robbins - Word MVP

I think that you will need to create a custom tab that replicates the Addins
tab and use

insertAfterMso="TabHome"

attribute.

You would of course then want to hide the built-in Addins tab by setting its
visible attribute to false using

<tab idMso = "TabAddIns"
visible="false">
</tab>

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

gil

Thanks Doug,

I will gradually be able to construct a replica of my prior toolbar that I now have under Addins. But it'll likely take me a year
because there is a lot in it. I was hoping to avoid that. I am intending now to put it all in a UserForm for easier ongoing
modification. It sure would be neat to have a "toolbar export" function of some sort.

I do hear you: insertAfterMso="TabHome"

Thanks And Cheers,

Gil
 

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

Top