If that works for you then great. I wasn't able to get any code to run first thing, even the delay. I can add steps in the AutoExec macro, but running any code that was in a module was failing.
If anyone is looking for a solution for the time being, I found something that works for me.
If I create a blank form with no codebehind, and add an extra step at the beginning of the AutoExec macro to open that form first, and then open the real form afterward, it does not throw any errors. I...