PC Review


Reply
Thread Tools Rate Thread

Compile Error: Can't Find Project or Library

 
 
Albert Browne
Guest
Posts: n/a
 
      16th Sep 2008
Hi.

I have been developing a project using 2007. when I try running it under
2000 on my laptop. or on the system it is to run under I keep getting the
error Compile Error: Can't Find Project or Library. The keywords that are
causing problems are UCASE & DATE. There may be others but I can't get
passed these at the moment. How can I solve this problem? Microsoft
knowledge base points to a 404 error.

Thanks,

Albert



 
Reply With Quote
 
 
 
 
JLGWhiz
Guest
Posts: n/a
 
      16th Sep 2008
In the VB editor, Tools>References and check the missing dll file. Your
error message should identify the one that is missing.

"Albert Browne" wrote:

> Hi.
>
> I have been developing a project using 2007. when I try running it under
> 2000 on my laptop. or on the system it is to run under I keep getting the
> error Compile Error: Can't Find Project or Library. The keywords that are
> causing problems are UCASE & DATE. There may be others but I can't get
> passed these at the moment. How can I solve this problem? Microsoft
> knowledge base points to a 404 error.
>
> Thanks,
>
> Albert
>
>
>
>

 
Reply With Quote
 
Chip Pearson
Guest
Posts: n/a
 
      16th Sep 2008
The most common cause of this is a missing reference. A missing reference
can cause elements defined in other (not missing) libraries to raise these
errors. In VBA, go to the Tools menu and choose References. There, see if
anything in the list is marked as MISSING. If you don't need that reference,
simply uncheck it from the list. If, however, you do need that library and
you know where it came from, close Excel and re-install the program that
created the reference in question. If you don't know where the library came
from, things get tougher. You can try running "Detect And Repair" from the
help menu and see if that fixes the problem. If that doesn't work, close
Excel, go to the Windows Start menu, choose Run and enter

C:\Program Files\Microsoft Office\Office12\Excel.exe /regserver

and then click OK. This will cause Excel to start, re-write all of its
internal settings back to "factory defaults" and quit. Now, start Excel
normally and see if the problem is gone. See also
http://www.cpearson.com/Excel/StartupErrors.aspx for a wide variety of
things you can do to fix various Excel problems. If all these fail, you may
have to uninstall and then reinstall the whole Office set of programs, but
that should be done as a last resort.


--
Cordially,
Chip Pearson
Microsoft Most Valuable Professional
Excel Product Group
Pearson Software Consulting, LLC
www.cpearson.com
(email on web site)




"Albert Browne" <(E-Mail Removed)> wrote in message
news:u$(E-Mail Removed)...
> Hi.
>
> I have been developing a project using 2007. when I try running it under
> 2000 on my laptop. or on the system it is to run under I keep getting the
> error Compile Error: Can't Find Project or Library. The keywords that are
> causing problems are UCASE & DATE. There may be others but I can't get
> passed these at the moment. How can I solve this problem? Microsoft
> knowledge base points to a 404 error.
>
> Thanks,
>
> Albert
>
>
>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compile Error: Can't find project or library Joe Wedel Microsoft Access VBA Modules 4 6th Dec 2011 10:26 PM
Compile Error: Can't find project or library Bob Microsoft Access Form Coding 1 11th Sep 2007 03:43 AM
Compile Error:Can't find project or library =?Utf-8?B?Q2hhbGxlbmdlZCBieSBib3Nz?= Microsoft Access 2 13th Jul 2007 09:32 AM
Compile error: Can't find project or library =?Utf-8?B?TWljaGFlbA==?= Microsoft Access VBA Modules 1 12th Jul 2007 11:26 PM
Compile Error: Can't Find Project or Library BeckenhamDave Microsoft Excel Discussion 0 25th Jan 2006 12:38 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:09 PM.