Ribbon XML help. (1 Viewer)

pikoy

Registered User.
Local time
Yesterday, 17:58
Joined
Dec 23, 2009
Messages
65
Hello Big Resource,

I am trying to customize a ribbon for a database to only show the icons and functions for Paste, ExportExcel and FileSaveAs. The code below shows that... however, when i apply that code, it does not hide/disable all the icons. If i value startFromScratch to true it gives out a parse error.

Is the code below sound or I have to code in each item?

Thank you

Code:
<customUI xmlns="[URL]http://schemas.microsoft.com/office/2006/01/customui[/URL]">
    <ribbon startFromScratch="false">
        <tabs>
            <tab idMso="TabCreate" visible="false" />
            <tab id="dbCustomTab" label="A Custom Tab" visible="true">
                <group id="dbCustomGroup" label="A Custom Group">
   <control idMso="Paste" label="Paste" enabled="true"/>
   <control idMso="FileSaveAs" label="Save As" enabled="true"/>
   <control idMso="ExportExcel" label="Export to Excel" enabled="true"/> 
                </group>
            </tab>
        </tabs>
    </ribbon>
</customUI>
 

Users who are viewing this thread

Top Bottom