+ Reply to Thread
Results 1 to 5 of 5

compile error cannot find project or library , Date Format

  1. #1
    Forum Expert JapanDave's Avatar
    Join Date
    06-10-2008
    Location
    The grid, I got in!
    MS-Off Ver
    Excel 2010/13
    Posts
    1,696

    compile error cannot find project or library , Date Format

    I just switched to a new PC last week with the latest Office installed.
    I am getting an error where 'Format' is not recognized.

    The error is "compile error cannot find project or library".

    I have never heard of such a widely used thing as this not in the typical reference library. Has something changed? And what do I need to check of to get VB to recognize this function?

    here is the code that is getting the error. 'Format' is what is being pinged.

    Please Login or Register  to view this content.
    Here is the list of items checked in the reference library.

    Please Login or Register  to view this content.
    Last edited by JapanDave; 03-22-2015 at 10:14 PM.
    Be fore warned, I regularly post drunk. So don't take offence (too much) to what I say.
    I am the real 'Napster'
    The Grid. A digital frontier. I tried to picture clusters of information as they moved through the computer. What did they look like? Ships? motorcycles? Were the circuits like freeways? I kept dreaming of a world I thought I'd never see. And then, one day...

    If you receive help please give thanks. Click the * in the bottom left hand corner.

    snb's VBA Help Files

  2. #2
    Forum Expert
    Join Date
    12-10-2006
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    3,565

    Re: compile error cannot find project or library , Date Format

    Hi JapanDave,

    I'd say it's to do with one or more of the references no longer working due to their original location (path) now being changed with the upgrade.

    Untick any references start with MISSING and then deselect and reselect all the other references to ensure their path is updated to the latest path i.e. Microsoft ActiveX Data Objects 2.0 is quite an old reference that even though isn't throwing out an error may be an issue.

    HTH

    Robert
    ____________________________________________
    Please ensure you mark your thread as Solved once it is. Click here to see how
    If this post helps, please don't forget to say thanks by clicking the star icon in the bottom left-hand corner of my post

  3. #3
    Forum Expert JapanDave's Avatar
    Join Date
    06-10-2008
    Location
    The grid, I got in!
    MS-Off Ver
    Excel 2010/13
    Posts
    1,696

    Re: compile error cannot find project or library , Date Format

    Thanks Robert. I figured it out, it had something to do with the fact that I forgot to install Microsoft access and VB was treating 'Format' as something else.

  4. #4
    Forum Expert
    Join Date
    12-10-2006
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    3,565

    Re: compile error cannot find project or library , Date Format

    OK - that's good news then.

    Thanks for the rep

  5. #5
    Forum Expert JapanDave's Avatar
    Join Date
    06-10-2008
    Location
    The grid, I got in!
    MS-Off Ver
    Excel 2010/13
    Posts
    1,696

    Re: compile error cannot find project or library , Date Format

    You are very welcome.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Compile Error in Hidden Module and Compile Error: Can't find project or library
    By Taislin in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 08-10-2013, 07:03 PM
  2. Compile error: Can't find project or library
    By appleguru in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 12-20-2012, 11:32 AM
  3. Compile Error - Can't find project or Library
    By bmasella in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-10-2007, 07:55 PM
  4. Compile error: Can't find project or library
    By Fred in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-18-2006, 04:10 AM
  5. [SOLVED] Compile Error: Can't Find Project or Library
    By BeckenhamDave in forum Excel General
    Replies: 0
    Last Post: 01-25-2006, 08:40 AM

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