Barbara_Schneider

Error: "Object library invalid..." when trying to run mxd containing VBA code

Discussion created by Barbara_Schneider on Aug 14, 2012
Problem:
I have an 9.3.1 mxd containing VBA code. Recently, when I opened the mxd, the the code didn't run and the following error popped up:

"Object library invalid or contains references to object definitions that could not be found."

Solution:
This problem occurred after a windows update has been installed. To solve it:
Delete all the .exd files at following location: %APPDATA%\Microsoft\Forms\
(On Windows XP, it is usually located in:
C:\Documents and Settings\%USERNAME%\Application Data\Microsoft\Forms\)

Maybe someone else runs into this problem...

Outcomes