Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

OFF2000: Error Starting Visual Basic Editor with Outdated Oleaut32.dll


View products that this article applies to.

This article was previously published under Q224315

↑ Back to the top


Symptoms

When you attempt to start the Visual Basic Editor in Microsoft Excel 2000, the following error message appears:
An error occurred initializing the VBA libraries (1004).
When you attempt to start the Visual Basic Editor in Microsoft Word 2000, the following error message appears:
The Visual Basic Environment could not be initialized.
When you attempt to start the Visual Basic Editor in Microsoft PowerPoint 2000, the following error message appears:
The DLL function "LoadTypeLibEx" was not found.
When you attempt to start the Visual Basic Editor in Microsoft Access 2000, the following error message appears:
The file 'OLEAUT32.DLL' is out of date. This program requires a newer version.
followed by:
Microsoft Access is unable to load the Visual Basic for Applications dynamic-link library (DLL) Vbe6.

Rerun the Microsoft Access Setup Program.

↑ Back to the top


Cause

This problem occurs if an outdated version of Oleaut32.dll is installed on your computer.

↑ Back to the top


Resolution

If the application does not close after you receive the error message, follow these steps to resolve the problem:
  1. Click Detect and Repair on the Help menu.
  2. Click Start in the Detect and Repair dialog box.
The Office Setup program replaces the outdated copy of Oleaut32.dll.

If the application closes after you receive the error message, use these steps to resolve the problem:
  1. Click Start, point to Settings, and click Control Panel.
  2. Double-click Add/Remove Programs.
  3. Double-click Office 2000.
  4. Click Repair Office.
  5. Click to select Reinstall Office and click Finish.
NOTE: Due to the outdated version of Oleaut32.dll, the error messages may appear during the reinstallation. Click Ignore in each error message dialog box to continue.

↑ Back to the top


References

For additional information about Office errors that can occur with an outdated version of Oleaut32.dll, please see the following article in the Microsoft Knowledge Base:
217440� OFF2000: Errors Starting Programs with Outdated Oleaut32.dll

↑ Back to the top


Keywords: KB224315, kbprb

↑ Back to the top

Article Info
Article ID : 224315
Revision : 6
Created on : 7/13/2004
Published on : 7/13/2004
Exists online : False
Views : 367