Is it possible to prevent MS Access from changing the selected ribbon tab automatically when using a custom ribbon?
When a custom UI XML file is used to add several custom ribbon tabs in Access, the selected ribbon tab changes back to the first custom tab whenever a form is closed. We load a custom ribbon programatically from VBA. I've create an accdb that reproduces the problem . The folder also includes an XML file that contains the ribbon definition. It must be in the same directory as the .accdb file. The problem can easily be demonstrated: open the database RibbonTest.accdb, switch to Tab2 and open Form2 using the button on the ribbon and close Form2. Notice that Tab1 is now active. Of course, in this