Access 2007 VBA project error message
am 26.12.2007 15:51:21 von anthonyI've been busy converting an existing 2003 database into 2007 by dint
of creating a new accdb database and importing the objects into it.
Everything went smoothly and all the objects imported without a
problem. I then ran a compile, discovered a problem with
wdOpenFormatAuto not being recognised so added a couple of libraries.
I also added two locations to the Trust Centre. Whether related or
not, when I now try to open the database I get this error:
"The database cannot be opened because the VBA project contained in it
cannot be read. The database can be opened only if the VBA project is
first deleted. Deleting the VBA project removes all code from modules,
forms and reports"
If I click Cancel, the database opens but this message reappears if I
try to look at any of the code behind the forms or reports. Anyone
know what's going on here?