macro startup on open

M

Mark1

I need to kick off a macro when my database is opened. What is the easiest
way? Can I do it through the Startup option on the Tools menu? Or do I need
an event in my VBA code? Thanks!
 
R

Rick Brandt

Mark1 said:
I need to kick off a macro when my database is opened. What is the easiest
way? Can I do it through the Startup option on the Tools menu? Or do I need
an event in my VBA code? Thanks!

If you name the macro AutoExec it will happen automatically.
 
M

Mark1

That is pretty darn cool, Rick. However, I guess it doesn't work for
modules, eh? I named one AutoExec and it didn't work.
 
Top