views:

11

answers:

1

I would like to be able to create a custom UI in Word 2007/2010 to call quick parts/auto-texts from the custom ribbon.

I can call macros and other coded things fine, but is there a way to integrate quickparts in a custom ribbon?

+1  A: 

Yes, you have to integrate one of the built-in CustomGallery controls (or another built-in gallery) into the ribbon:

<mso:cmd app="Word" dt="1" />
<mso:customUI xmlns:mso="http://schemas.microsoft.com/office/2009/07/customui"&gt;
    <mso:ribbon>
        <mso:tabs>
            <mso:tab id="myCustomTab" label="My Custom Tab" insertBeforeQ="mso:TabInsert">
                <mso:group id="myCustomGroup" label="My QuickParts" autoScale="true">
                    <mso:gallery idQ="mso:CustomGallery1" showInRibbon="false" visible="true"/>
                </mso:group>
            </mso:tab>
        </mso:tabs>
    </mso:ribbon>
</mso:customUI>
0xA3
Is there a way to define new galleries?
Judson
Yes, you can create new QuickParts and place them in a custom gallery. However, you are limited to the 5 built-in custom galleries.
0xA3