Either create a Macro named "Autoexec" and in that macro call your code with the
RunCode command (it will need to be a function rather than a sub)
OR
put it in the Open or Load event of a form that you have set to automatically
open in your Startup properties. In this case the code can actually be in the
form's module or it can simply Call the code that you have set up in a standard
module.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.