+ Reply to Thread
Results 1 to 4 of 4

Project/Library not found issue

  1. #1
    Forum Contributor boylejob's Avatar
    Join Date
    02-22-2007
    Location
    Forest City, NC
    MS-Off Ver
    2003
    Posts
    562

    Project/Library not found issue

    I have recently been upgraded to Excel 2007 and I am running into some problems. One of the programs I run constantly does a simple conversion of a social security number to elimination the dashes (123-45-6789 gets converted to 123456789). The code below has done for me for years where ID is the old social security number and ssn will be the converted social security number

    Please Login or Register  to view this content.
    I am now getting an error when that says "Cannot find project or library" and Left in the the above code is highlight. I feel that in the VBA editor under Tools one of the References needed has not been checked. There appears to be about 200 references available and I haven't got the slightest idea which one might not be checked that should be.

    In the past when I was in the VBA editor debugging a program I could place my cursur over a variable and it would give me the value of that variable in a little box near the curser. Now that I have Excel 2007 it has stopped doing this. Is this feature not in 2007 or is there a switch I need to flip to get that turned back on.

    Can anyone help me with these two problems?
    Sincerely,
    Jeff

  2. #2
    Forum Expert davegugg's Avatar
    Join Date
    12-18-2008
    Location
    WI, US
    MS-Off Ver
    2010
    Posts
    1,884

    Re: Project/Library not found issue

    The four references that I keep checked as a default are (in order):
    Visual Basic for Applications
    Microsoft Excel 12.0 Object Library
    OLE Automation
    Microsoft Office 12.0 Object Library

    I'd guess your problems are linked. Let me know if making sure these references are linked in the same order I have does not remedy your problems.
    Is your code running too slowly?
    Does your workbook or database have a bunch of duplicate pieces of data?
    Have a look at this article to learn the best ways to set up your projects.
    It will save both time and effort in the long run!


    Dave

  3. #3
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Project/Library not found issue

    Look for a reference that says MISSING and untick it.

    Please Login or Register  to view this content.
    Entia non sunt multiplicanda sine necessitate

  4. #4
    Forum Contributor boylejob's Avatar
    Join Date
    02-22-2007
    Location
    Forest City, NC
    MS-Off Ver
    2003
    Posts
    562

    Re: Project/Library not found issue

    davegugg: I have the same references checked so I don't guess that is the problem.

    shg: I did not see I had a reference called MISSING to untick. I did replace my code with what you provided and that has solved my problem.

    Thanks!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1