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

ID: Q224315


The information in this article applies to:


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.


CAUSE

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


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.


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:

Q217440 OFF2000: Errors Starting Programs with Outdated Oleaut32.dll

Additional query words: OFF2000 2000 xl xl2000 wd wd2000 ol ol2000 ppt ppt2000 acc acc2000 vbe ole


Keywords          : kbdta 
Version           : WINDOWS:2000
Platform          : WINDOWS 
Issue type        : kbprb 

Last Reviewed: July 28, 1999