I’m here to help
- Local time
- Today, 13:52
- Oct 29, 2018
@isladogs If the startup form uses vba and hasn't been trusted, I think you will only see the autoexec macro fires.I was also surprised to see that the startup form loaded first. I modified your code to use an event procedure instead of an embedded macro. Same result. Normally you would either use start up code in an autoexec macro OR in a startup form, not both!
Autoexec is useful where you need to ensure 'safe' code runs even if an application is opened when it hasn't been trusted