+ Reply to Thread
Results 1 to 5 of 5

"Can't find project or library" -which references are missing?

  1. #1
    Registered User
    Join Date
    06-11-2009
    Location
    Swe
    MS-Off Ver
    Excel 2003
    Posts
    27

    "Can't find project or library" -which references are missing?

    When trying to use a formula, I get the error message "Can't find project or library",
    after I press OK, a box called "references - VBAProject" pops up, listing all avaliable references.

    I can't figure out what to do next. The references are just listed, -can't see where the problem lies.
    I've looked around a bit on different help forums, and usually the case with these errors is that some references are listed as 'MISSING'.
    But that's not the case here.
    Nothing seems to be missing. So I can't figure out what to do.

    Btw: here's the formula (as in cell S2)
    =IF(V2="";IF(D2="";IF(E2="AX";E2&A2;"M"&DEC2HEX(HEX2DEC(A2)+1-T2));"");"")
    (Basically, if V and D are empty, it should change the value of the S2 cell, writing an 'M' followed by a hexadecimal number based on the numbers in A2 and T2 )
    Last edited by dadel; 07-24-2009 at 08:27 AM.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: "Can't find project or library" -which references are missing?

    DEC2HEX and HEX2DEC both form part of the Analysis ToolPak I believe - is that activated check: Tools -> AddIns... not that it should in anyway generate that error...

  3. #3
    Registered User
    Join Date
    06-11-2009
    Location
    Swe
    MS-Off Ver
    Excel 2003
    Posts
    27

    Re: "Can't find project or library" -which references are missing?

    Looks like it did though!

    I took a look and saw that the "Analysis ToolPak" was activated, however the "Analysis ToolPak - VBA" was not.
    I activated it, and voila! no more error messages, and everything works!

    Thanks alot (you're awesome, donkeyote!)

    Kind of lame though that Excel couldn't have hinted that I should check my add-ins in the error message.
    Last edited by dadel; 07-24-2009 at 08:41 AM.

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: "Can't find project or library" -which references are missing?

    Curious though - are you are you utilising any ATP functions from within your VBA code ?

  5. #5
    Registered User
    Join Date
    06-11-2009
    Location
    Swe
    MS-Off Ver
    Excel 2003
    Posts
    27

    Re: "Can't find project or library" -which references are missing?

    Not sure (working on a project that someone else has created)

    The macros seems to work without the ATP vba turned on though.

+ 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