Compile all modules

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is it possible to create a function to compile all VBA, all modules?
I remember in access 97 it was possible.

Thanks
 
Is it possible to create a function to compile all VBA, all modules?

In Access 2000 and later, the entire VBA Project is compiled when you compile
anything. It's all one unitary thing.

I'll routinely add the "Compile Project" button to the VBA editor toolbar,
just to avoid having to use Debug... Compile from the menu.

John W. Vinson [MVP]
 
JCP said:
Is it possible to create a function to compile all VBA, all modules?
I remember in access 97 it was possible.

DoCmd.RunCommand acCmdCompileAllModules

ought to do it.
 

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

Back
Top