Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
MISSING: Microsoft Word 11.0 Project Library | Excel Programming | |||
Compile Error: Can't find project or library (missing Add-in) | Excel Programming | |||
Missing library or project | Excel Programming | |||
Missing library when running 98 project on 2003 | Excel Discussion (Misc queries) | |||
Missing Project or Library | Excel Programming |