I’m using the following custom ribbon for print previews on reports (no add-ins tab). However, if I use the /runtime switch at startup the Add-ins tab appears and I don’t understand why.
I’m struggling with Ribbons as it is as I don’t fully know how they work, I got the code from someone else. Does anyone know how to permanently remove the Add-ins tab or at the least stop it appearing in runtime mode.
Many thanks
SmallTime
I’m struggling with Ribbons as it is as I don’t fully know how they work, I got the code from someone else. Does anyone know how to permanently remove the Add-ins tab or at the least stop it appearing in runtime mode.
Code:
<mso:customUI xmlns:mso="http://schemas.microsoft.com/office/2009/07/customui">
<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui">
<ribbon startFromScratch="true">
<tabs>
<tab id="tabPrintPreview" label="Report">
<group id="grpPrint" label="Printer" visible="true">
<button idMso="PrintDialogAccess" size="large" label="Print" imageMso="PrintDialogAccess" />
<button idMso = "PublishToPdfOrEdoc" size="large" label="PDF"/>
</group>
<group id="grpZoom" label="Zoom" >
<splitButton idMso="PrintPreviewZoomMenu" size="large" visible="true"/>
<toggleButton idMso="ZoomFitToWindow" size="large"/>
<toggleButton idMso="ZoomOnePage" size="large"/>
<toggleButton idMso="PrintPreviewZoomTwoPages" size="large"/>
</group>
<group id="grpClosePreview" label="Close report" visible="true">
<button idMso="PrintPreviewClose" size="large" label="Close" imageMso="PrintPreviewClose"/>
</group>
</tab>
</tabs>
</ribbon>
</customUI>
Many thanks
SmallTime