what do if you get the dreaded Office “Object library invalid”

If you open an Office Document, you might occassionally find your self with an error that tells you that your “object library is invalid” , “excel has had a catastrophic failure” or you have an “invalid reference”. Once you have this, you cannot save the file, and depending on the version, Excel or some other office program will just exit. Even opening it in safe mode doesn’t help.

Almost certainly you will have just have had some kind of windows or office update, that will have changed one the libraries. When you access some files, Windows makes a cached copy of it (called an .exd file).

Amazingly, the Windows update process does not clean these .exd files, so that means that the cached file may be out of synch with the new version of the library – eventually you end up with the error described.

It’s very easy to fix – just delete all the .exd files. For details, see this post from 2009 by Lessan Vaezi. Incredibly, the same old thing continues to happen today.

About brucemcp 225 Articles
I am a Google Developer Expert and decided to investigate Google Apps Script in my spare time. The more I investigated the more content I created so this site is extremely rich. Now, in 2019, a lot of things have disappeared or don’t work anymore due to Google having retired some stuff. I am however leaving things as is and where I came across some deprecated stuff, I have indicated it. I decided to write a book about it and to also create videos to teach developers who want to learn Google Apps Script. If you find the material contained in this site useful, you can support me by buying my books and or videos.

Be the first to comment

Leave a Reply

Your email address will not be published.


*


ten + fourteen =