event procedure to be run when starting my database

carpeneda

Carpeneda
Local time
Today, 23:22
Joined
Mar 5, 2009
Messages
9
Hello
Is there any possibility to run a vba procedure when opening my database? This should run before any form is loaded.
Thanks for any help
E.Glaser
 
Create a macro called Autoexec and in the action part of the macro enter your procedure name.
 
And a quick little additional info - your function must be public (don't know if it can be in a form or report but might need to be in a standard module) for it to be recognized by the autoexec macro.

And the Action in the macro is called RunCode.
 

Users who are viewing this thread

Back
Top Bottom