VBA problem on Fresh Access 2007 Installation

  • Thread starter Thread starter Aamer
  • Start date Start date
A

Aamer

I have loaded a fresh window xp on my system afterwards a fresh office 2007
is installed on the system
Since I have done that I am is problem with my access project.

The project I have created has few forms which are password protected. None
of them are working.
whenever I enter the password on form name: I get the following errors




Microsoft Visual Basic
An error occured while loading "Form_Salery". Do you want to continue
loading the project?


if I select the option Yes
I get the following error


Invalid Procedure Call or Argument
With Option OK and HELP


Other Error I am getting is as follows:

The database cannot be opened because the VBA project contained in cannot be
read. The database can be opened only if the VBA project is firstdeleted.
Deleating the VBA project removes all code from modules, forms, and reports.
You should backup your database before attempting to open the database and
delete the VBA project.


Please not the same project is running perfectly on my other 2 computers one
is using windows Xp and other is Using Windows 7.


Can someone pls guide me how to solve this issue.


Thank You in Advance

Aamer Sheikh
 
It sure sounds like a corrupt database. I'd delete it and copy one of the 2
from another working machine. If that still doesn't work, uninstall, reboot
and reinstall Office 2007 with all service packs and hot fixes.
 
it is the copy from other machines, i have copied it from both machines and
its giving me same problem.
 
Back
Top