After importing few VBA Scripts/Modules from older Access into new office 2010 Access accdb, I could not comile them, I kept getting "Expected user-defined type, not project" error.
Solution was simple, By default it imported all my modules with the project called "Database"
After renaming it to some thing else, it worked
Go to Tools -> Database Properties (on the the VBA Screen), and rename the project
No comments:
Post a Comment