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.
 
Back
Top