This one has driven me crazy.
I have one line in my macro autoexec and that is to call the function StartUp()
My code in the function StartUp() disables the ribbon.
When I open the MDB (not holding shift to bypass autoexec) it works just fine.
When I save as an accde file and run that file I get the following error:
I have deleted the Autoexec macro and recreated it, and also deleted the startup function as well as the module container it was in and recreated both and I still have the same error.
Any suggestions are greatly appreciated!