How to delete a code module

  • Thread starter Thread starter Peter Brase
  • Start date Start date
P

Peter Brase

There is no obvious to delete a code module from an
Access/VBA project. Has someone found the secret?
 
Three ways:

In the Modules tab of the database window, delete it.
In the VBE, select the module in the Project Explorer
window (CTRL-R), then right click and click Remove.

Finally, Docmd.DeleteObject acModule,"NAME"

Chris
 
Back
Top