add Option Application.UNLoadCustomUI
We have linked database to SQL database
users can choose what database the connect - they are all same schema
We use VBA tebledef to change all Linked Tables to a Database
this is our only alternative to Old Good ADP!!!
for each database - as an AD user - you may have different permissions for the new database
based on that we load ribbon from xml in the loaded SQL database And using the callback in VBA we make each TAB in the ribbon Visible or not.
we need an option to simply mimic the Application.LoadCustomUI
and have it Application.UNLoadCustomUI
this will allow us to activate all the callbacks to show hide controls on the newly loaded ribbon