Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
mg mg is offline
external usenet poster
 
Posts: 35
Default Can't find project of library

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?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Can't find project of library

Check to see which one(s) are missing.

You may not even have them available.

Open VBE and ToolsReferences 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


On Sun, 18 May 2008 12:35:00 -0700, MG wrote:

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?


  #3   Report Post  
Posted to microsoft.public.excel.misc
mg mg is offline
external usenet poster
 
Posts: 35
Default Can't find project or library

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?

"Gord Dibben" wrote:

Check to see which one(s) are missing.

You may not even have them available.

Open VBE and ToolsReferences 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


On Sun, 18 May 2008 12:35:00 -0700, MG wrote:

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?



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Can't find project or library

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

On Sun, 18 May 2008 14:22:06 -0700, MG wrote:

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?

"Gord Dibben" wrote:

Check to see which one(s) are missing.

You may not even have them available.

Open VBE and ToolsReferences 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


On Sun, 18 May 2008 12:35:00 -0700, MG wrote:

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?




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't Find Project or Library Error Vick Excel Discussion (Misc queries) 1 May 17th 08 12:25 PM
Can't find project or library AnnapolisStar Excel Worksheet Functions 1 June 15th 07 04:02 PM
Excell error "Can't find Project or Library" Project VBAProject Lost in Excel Excel Worksheet Functions 0 April 12th 07 04:42 PM
cant find project or library pcor New Users to Excel 2 January 5th 07 03:52 AM
Can't find project or library Tracey Excel Discussion (Misc queries) 4 January 5th 05 05:19 PM


All times are GMT +1. The time now is 03:16 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"