I've created a customized Quick Access Toolbar using a Ribbon XML but it's not displayed after reopening the database likewise I'm opening a database adapting the Quick Access Toolbar. The Quick Access Toolbar is not displayed.
As a rule it's insufficient only to close and reopen the current database.
To ensure that the customized Quick ACCESS Toolbar will be displayed you have to close and then restart Access.
Create a "dummy" form in the database which should be opened in the event "OnRibbonLoad" and immediately closed again.
Sub OnRibbonLoad(ribbon As IRibbonUI) ' Callbackname in XML File "onLoad" DoCmd.OpenForm "frmDummy" DoCmd.Close acForm, "frmDummy" End Sub
Your Ribbon XML must call this function:
<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui" onLoad="OnRibbonLoad"> </customUI>
Be aware not to start your database with a double click from the Explorer.
You can find a sample database in the download area.