Access97 Module Name Argument error

  • Thread starter Thread starter pat2469
  • Start date Start date
P

pat2469

I get the following error message when trying to open any
Access 97 database on my computer could someone let me
know what it means and how to I fix it? None of the
database contain any modules.

Microsoft Access can't find the module. You tried to use
the OpenModule action or method, but Microsoft Access
can't find the module you specified in the Module Name
argument. Enter a valid module name from the current
database.


Thanks,
Pat
 
Pat,

You probably have a macro called "AutoExec" (if not, then the problem
resides in another macro).

In this macro, under the Action column, you'll see an item called
"OpenModule". That's the problem! If your application doesn't have any
modules, then it is referring to a module that doesn't exist. Just delete
that line.

You may as well check all other macros for the same thing, and give the
offending line the same treatment.

Regards,
Graham R Seach
Microsoft Access MVP
Sydney, Australia

Microsoft Access 2003 VBA Programmer's Reference
http://www.wiley.com/WileyCDA/WileyTitle/productCd-0764559036.html
 
I went through each database and didn't find any modules
referred to in macros nor any modules could someone
recommend other things to try?
 
Back
Top