LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default Compile Error: Can't Find Project or Library

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" wrote in message
...
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




 
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
Compile Error: Can't find project or library J.B. Excel Programming 3 March 28th 08 08:18 PM
Compile error - Can't find project library ???? [email protected] Excel Programming 0 October 30th 07 08:18 PM
Compile error - Can't find project library ???? [email protected] Excel Programming 0 October 30th 07 08:18 PM
Compile error: Can't find project or library Daniel[_17_] Excel Programming 3 December 8th 04 01:05 PM
Compile Error! Can't find project or Library --- Help! Suh Suk Ho Excel Programming 2 July 21st 03 08:26 PM


All times are GMT +1. The time now is 12:59 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"