PC Review
Forums
Newsgroups
Microsoft Access
Microsoft Access VBA Modules
Customizing Ribbon - Close Print Preview Button?
Forums
Newsgroups
Microsoft Access
Microsoft Access VBA Modules
Customizing Ribbon - Close Print Preview Button?
![]() |
Customizing Ribbon - Close Print Preview Button? |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
I am creating a custom ribbon and would like to limit the commands available
to a few report printing and exporting options. How can I show a big button for Close Print Preview like on the standard Print Preview Ribbon? My current code just shows a small icon: <customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui"> <ribbon startFromScratch="true"> <tabs> <tab id="dbCMAppTab" label="CMApp" visible="true"> <group id="dbExportGroup" label="Export Options"> <control idMso="ExportWord" label="Export to Word" enabled="true"/> <control idMso="ExportTextFile" label="Export to Notepad" enabled="true"/> <control idMso="FileSendAsAttachment" label="Email" enabled="true"/> </group> <group id="dbPrintGroup" label="Print Options"> <control idMso="FilePrintQuick" label="Print" enabled="true"/> <control idMso="FilePrintPreview" label="Print Preview" enabled="true"/> <control idMso="PrintPreviewClose" label="CLOSE" enabled="true"/> </group> <group id="dbClosePreview" label="Close Preview"> <control idMso="PrintPreviewClose" label="CLOSE" enabled="true"/> </group> </tab> </tabs> </ribbon> </customUI> |
|
|
|
#2 |
|
Guest
Posts: n/a
|
I solved it by adding size="large" between the label and enabled statements
i.e. <control idMso="PrintPreviewClose" label="CLOSE" size="large" enabled="true"/> "Heather" wrote: > I am creating a custom ribbon and would like to limit the commands available > to a few report printing and exporting options. > How can I show a big button for Close Print Preview like on the standard > Print Preview Ribbon? > My current code just shows a small icon: > > <customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui"> > <ribbon startFromScratch="true"> > <tabs> > <tab id="dbCMAppTab" label="CMApp" visible="true"> > <group id="dbExportGroup" label="Export Options"> > <control idMso="ExportWord" label="Export to Word" enabled="true"/> > <control idMso="ExportTextFile" label="Export to Notepad" > enabled="true"/> > <control idMso="FileSendAsAttachment" label="Email" enabled="true"/> > </group> > <group id="dbPrintGroup" label="Print Options"> > <control idMso="FilePrintQuick" label="Print" enabled="true"/> > <control idMso="FilePrintPreview" label="Print Preview" > enabled="true"/> > <control idMso="PrintPreviewClose" label="CLOSE" enabled="true"/> > </group> > <group id="dbClosePreview" label="Close Preview"> > <control idMso="PrintPreviewClose" label="CLOSE" enabled="true"/> > </group> > </tab> > </tabs> > </ribbon> > </customUI> |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

