Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 262
Default Project or Library missing

I have a program that works fine on some of our laptops and not on others.
When the routine is run on the ones that don't work I get the message

Compile Error

Can't find project or library

The command line causing the problen reads:

str = Right(str, Len(str) -1)

The highlight is on the word Right.

When this happened in the past I was:

In the VBIDE, go into ToolsReferences, and if there re any items marked as
MISSING, uncheck them.

But this time there arent any marked as MISSING.

Anybody got any other ideas?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default Project or Library missing

On Jun 28, 1:04 am, Keith wrote:
I have a program that works fine on some of our laptops and not on others.
When the routine is run on the ones that don't work I get the message

Compile Error

Can't find project or library

The command line causing the problen reads:

str = Right(str, Len(str) -1)

The highlight is on the word Right.

When this happened in the past I was:

In the VBIDE, go into ToolsReferences, and if there re any items marked as
MISSING, uncheck them.

But this time there arent any marked as MISSING.

Anybody got any other ideas?


Have you tried using the Debug | Compile option ?
Otherwise you could export the module code to a text file, delete it
from the project, and re-import it. Highlight the module in the
Project Explorer, use File | Remove <modulename, reply Yes to save it
somewhere safe, then use File|Import to get it back. This may clear
out the bogus reference information. Don't forget to recompile as
well.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Project or Library missing

Check after the error occurs.

You might have to hit the reset button before doing Tools=References.

Also make sure that the problematic workbook is the activeproject in the VBE
to make sure you are looking at the references associated with this workbook.

--
Regards,
Tom Ogilvy


"Keith" wrote:

I have a program that works fine on some of our laptops and not on others.
When the routine is run on the ones that don't work I get the message

Compile Error

Can't find project or library

The command line causing the problen reads:

str = Right(str, Len(str) -1)

The highlight is on the word Right.

When this happened in the past I was:

In the VBIDE, go into ToolsReferences, and if there re any items marked as
MISSING, uncheck them.

But this time there arent any marked as MISSING.

Anybody got any other ideas?

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
MISSING: Microsoft Word 11.0 Project Library ChrisMattock[_8_] Excel Programming 1 May 12th 06 12:22 PM
Compile Error: Can't find project or library (missing Add-in) Trefor Excel Programming 13 November 12th 05 02:51 PM
Missing library or project Craig Wilks[_2_] Excel Programming 1 September 27th 05 03:58 AM
Missing library when running 98 project on 2003 Mary Omond Excel Discussion (Misc queries) 0 May 2nd 05 01:36 PM
Missing Project or Library Dave Excel Programming 3 August 25th 04 03:22 PM


All times are GMT +1. The time now is 07:25 PM.

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"