You cannot run the Visual Basic for Applications code in your Microsoft Access 2000 run-time application if you removed Microsoft Office Access 2003 (827490)
The information in this article applies to:
- Microsoft Office Access 2003
Moderate: Requires basic macro, coding, and interoperability skills.
This article applies to a Microsoft Access database (.mdb) and a
Microsoft Access project (.adp). For a Microsoft Access 2002 version of this article,
see
282336. SYMPTOMSYou remove Microsoft Office Access 2003, including an Access
2003 run-time application. When you start a Microsoft Access 2000 run-time
application, you cannot run the Visual Basic for Applications (VBA) code in
your run-time application. You may also receive the following error
message: The expression On<event> you entered as the event property setting produced the following error: There was a problem referencing a property or method of the object.
* The expression may not result in the name of a macro,
the name of a user-defined function, or [Event Procedure]. * There may have
been an error evaluating the function, event, or macro. Note In this error message, event is a
placeholder for the name of the event. CAUSEWhen you remove Access 2003, you unregister the Access.Application object in the Microsoft Windows registry. As a result, any VBA
code in Access does not function. RESOLUTIONTo resolve this problem, reinstall the Microsoft Access 2000
run-time application. To do this, follow these steps. Note Because there are several versions of Microsoft Windows, the
following steps may be different on your computer. If they are, see your
product documentation to complete these steps.
- Click Start, point to
Settings, and then click Control
Panel.
- In the Control Panel window, double-click
Add/Remove Programs.
- In the Add/Remove Programs dialog box,
click Microsoft Access 2000 Runtime in the list of currently
installed programs. Click Change.
- In the Microsoft Access 2000 Maintenance
Mode dialog box, click Repair Microsoft Access 2000
Runtime.
- In the Reinstall/Repair Microsoft Access 2000
Runtime dialog box, click Reinstall Access Runtime.
Note The Repair errors in my Access Runtime
installation option does not correct this problem. - Click Finish.
- If you are prompted to restart your computer, click
Yes.
The Access 2000 run-time application runs
successfully.
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
Modification Type: | Minor | Last Reviewed: | 6/3/2004 |
---|
Keywords: | KbVBA kbPDWizard kbPackage kberrmsg kbprb KB827490 kbAudDeveloper |
---|
|