Can't find project of library

M

MG

I've developed a spreadsheet with macros in an older version of excel. When
I bring it into a newer version of excel, the macros fall down immediately
with the following error message: Compile error: Can't find project or
library. Is there a way of automatically loading the appropriate libraries
when the spreadsheet is opened?
 
G

Gord Dibben

Check to see which one(s) are missing.

You may not even have them available.

Open VBE and Tools>References to have a look.

Could be a reference to an Add-in no longer available or any number of items.


Gord Dibben MS Excel MVP
 
M

MG

With the old version of excel it references version 7 of the libraries,
however the new one operates with version 11. Although it is possible to
make the new link it is a problem as you have to go through a lot of
debugging (gets into a loop that takes a while to get out of) and if other
people use the file they will have the same problem. I was hoping there
maybe a way that the spreadsheet could automatically make the link to the
appropriate library. Can this be coded?
 
G

Gord Dibben

I'm not too good at that sort of thing.

You might have better luck posting over in the excel.programming group but could
be one of the brighter bulbs will see this and come to assist.


Gord
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top