QAT
Quick Access Toolbar
Also the Quick Access Toolbar can be adapted and changed with a Ribbon XML.
However, the adaption can be only achieved if you hide all the Access Tabs using <ribbon startFromScratch="true">. Otherwise you will receive the following error message:

(to enlarge click here)
To ensure that the customized Quick ACCESS Toolbar will be displayed you have to restart Access. Sometimes it's insufficient to close and reopen the current database.
A Quick Access Toolbar with customized buttons:

The corresponding XML Ribbon file:
<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui">
<ribbon startFromScratch="true">
<qat>
<documentControls>
<button id="btn1" label="1"
imageMso="_1"
onAction="MyButtonCallbackOnAction"/>
<button id="btn2" label="2"
imageMso="_2"
onAction="MyButtonCallbackOnAction"/>
<button id="btn3" label="3"
imageMso="_3"
onAction="MyButtonCallbackOnAction"/>
<button id="btn4" label="Info"
imageMso="Info"
onAction="MyButtonCallbackOnAction"/>
</documentControls>
</qat>
</ribbon>
</customUI>
or integrate Access Ribbon Controls on the Quick Access Toolbar:

The corresponding XML Ribbon file:
<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui">
<ribbon startFromScratch="true">
<qat>
<documentControls>
<button idMso="Copy"
<button idMso="Paste"
<button idMso="PrintDialogAccess"
<button idMso="FileCloseDatabase"
</documentControls>
</qat>
</ribbon>
</customUI>
You can find this example in sample database 8
|