Error
: (object
library invalid or contains references to object definitions that could not be
found)
Method 1
Note In this procedure, the folders that are mentioned
may or may not exist, depending on which application uses the custom solution
and whether the custom solution is used on a document or in a UserForm.
1.
Exit all instances of Microsoft
Excel.
2.
Click Start, type %temp% in
the Open box, and then press Enter.
3.
In the folder that opens, delete the
Excel8.0 folder and the VBE folder.
4.
Click Start, type %appdata%\microsoft\forms in
the Open box, and then press Enter.
5.
In the folder that opens, delete the
MSComctlLib.exd file.
6.
Close all the instances of Windows
Explorer that you opened.
Method 2
1.
Click Start, type cmd in
the Open box, and then press Enter.
2.
Type the following commands at the
command prompt, and press Enter after each command:
Note You can safely ignore any results that say "Could
Not/cannot find."
del %temp%\vbe\MSComctlLib.exd
del %temp%\excel8.0\MSComctlLib.exd
del %appdata%\microsoft\forms\MSComctlLib.exd
del %temp%\word8.0\MSComctlLib.exd
del %temp%\ppt11.0\MSComctlLib.exd
del %temp%\ppt12.0\MSComctlLib.exd
del %temp%\ppt14.0\MSComctlLib.exd
Note An administrator can use a script that contains these commands to
delete the unnecessary files. For example, an administrator can copy the
commands to a text file, save the file as a .bat file (for example, Scriptfile.bat),
and then double-click the file to run it.