I use the following xml to create a ribbon for Sort and Filter
The first problem is that this ribbon appears in forms where it is not included.
The second problem is that in addition to the "File and Filter" tab, there appears a "File" tab Whe you click on it is goes backstage allowing you to Print and Exit.
Any ideas?
Thanks,
John
Code:
<customUI xmlns="[URL]http://schemas.microsoft.com/office/2006/01/customui[/URL]">
<ribbon startFromScratch="true">
<tabs>
<tab idMso="TabCreate" visible="false" />
<tab id="dbSearchtab" label="Sort and Filter" visible="true">
<group id="SearchScreenSort" label="Sort and Filter">
<box id="myBox1_h" boxStyle="horizontal">
<toggleButton idMso="SortUp" size="large" />
<toggleButton idMso="SortDown" size="large" />
<button idMso="SortRemoveAllSorts" size="large" />
<button idMso="FilterBySelection" size="large" />
<button idMso="FilterClearAllFilters" size="large" />
</box>
</group>
</tab>
</tabs>
</ribbon>
</customUI>
The first problem is that this ribbon appears in forms where it is not included.
The second problem is that in addition to the "File and Filter" tab, there appears a "File" tab Whe you click on it is goes backstage allowing you to Print and Exit.
Any ideas?
Thanks,
John