Question

Yesterday when I was working on a module in Access 2003, when I closed it, Access crashed. I think what I had done was renamed the module. After reopening Access I saw the new renamed module, but got the ol' "The module name "..." is misspelled or refers to a module that doesn't exist" error. I am unable to open it in the Database Window, or rename it there. But when I have the Visual Basic editor up I can get access to the module, but it has the original name still. I was able to copy and paste the code out, and the code does actually work still. The problem is that I can't rename or open the module in the Database Window. And that makes me worry. What should I do? Open a fresh database and copy and paste all my forms and queries and code into it? Or is it fine? :S

This is just a backend I'm working on, not even connected to the real database yet. The reason I was renaming the module was because I had a procedure have the same name as the module.

Was it helpful?

Solution

I suggest you open a new mdb and import everything. You might like to look at this first: http://www.granite.ab.ca/access/corruptmdbs.htm

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top