Autoexec macro in Access 2002

M

Marty L

What is the name of the subroutine for an autoexec in access 2002?

in Tools, Macro I cannot create a macro, so how do i setup a subroutine to
run in vba when the application is first opened?
 
B

Brendan Reynolds \(MVP\)

Any macro named AutoExec will run when the application starts. To create a
new macro, in the Database window, select Macros from the bar on the left,
then click New, or go to the Insert menu and choose Macro. Alternatively,
you can specify a form to be opened when the app starts (choose Startup from
the Tools menu) and call any macro or VBA procedure from the form's Open or
Load event procedure.
 

Ask a Question

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.

Ask a Question

Top