Module... corrupted?

kit_sune

Registered User.
Local time
Yesterday, 22:04
Joined
Aug 19, 2013
Messages
88
I'm getting really frustrated...

Can you not rename a module without corrupting it???

Twice now I've created a database, and made the decision to modify the name of the Module I was using. Both times I did this caused the module to become corrupt. Now when I try to click the module or modify it I get the error message:

"The module name 'Shared' is misspelled or refers to a module that doesn't exist.

If the invalid module name is in a macro, an Action Failed dialog box will display the macro name and macro's arguments after you click OP. Open the Macro window, and enter the correct module name."

So now, for the second time in a row I've lost all my code and I'm quite unhappy.

Luckily this time I didn't get too far before the incident. Last time my building had some networking issues, so I had just assumed it was related. This time there was no such issue.

Is there any way to fix this???

I guess I should add this:

Using MS Access 2007
 
To fix this I went to the Database Tools ribbon, clicked on Visual Basic, and Renamed the file from there back to what it was originally.

From there, I was able to do a rename and haven't had any problems.
 

Users who are viewing this thread

Back
Top Bottom