You have a naming conflict, or a library reference error.
Firstly, uncheck the boxes under:
Tools | Options | General | Name AutoCorrect
Explanation of why:
http://allenbrowne.com/bug-03.html
Then compact the database to get rid of this junk:
Tools | Database Utilities | Compact
Next, press Ctrl+G to open the Immediate Window. On the Tools menu, select
the item:
xxx Properties
where xxx is the name of your project. You can change the name, so it does
not conflict with anything.
Then (still in the Code window), choose References on the Tools menu. Look
for any checked item that has the word MISSING beside it. Uncheck any
references you don't need. More on references and what you do need for your
version of Access:
http://allenbrowne.com/ser-38.html
Still in the code window, choose Compile from the Debug menu. Fix any
errors, and repeat until the project compiles.
Post a reply to this thread if you are still stuck after that.