- Local time
- Today, 10:37
- Joined
- Oct 29, 2018
- Messages
- 21,469
Yeah, no. I was just saying, if you really wanted to know which event fires first, then try not to get too fancy in manipulating the sequence of events. Simply use MsgBox to indicate which event fired. So, if your Autoexec or Form loads a Ribbon, that modifies the true sequence of events. You could even try this little experiment using a new blank database with just those three simple objects: custom ribbon, empty form, and autoexec macro.@theDBguy I'm trying to follow your #10 suggestion. I have a custom ribbon.
Autoexec calls a function and creates a ribbon.
Login Form is set to be opened (in option)
Still the form's on_open event runs first.
I'm all ears if it wasn't what you meant.
I'll give you a hint though, you already know the answer. Except, when you try the last test I mentioned above, you might reconsider which event you would use in your app.
Cheers!