+ Reply to Thread
Results 1 to 7 of 7

Encountering VBA Error - Can't find project or library without a way to fix it!

  1. #1
    Registered User
    Join Date
    02-07-2015
    Location
    Texas
    MS-Off Ver
    2015
    Posts
    30

    Encountering VBA Error - Can't find project or library without a way to fix it!

    I have now had the same error pop on two non-related .xlxm files. I open the file and a pop up says "Can't find project or library". I go the VBA editor to either turn on the missing library and either its 1) nothing shows as "missing" or 2) the box won't open at all.

    I'm not sure if this is an issue with my Excel or if something is happening to my .xlxm files.

    Any ideas?
    Last edited by papaaj1; 11-12-2019 at 09:31 PM.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2504 Win 11
    Posts
    24,705

    Re: VBA Error

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however the thread title does not really convey what your request is about.

    Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).

    Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.

    (Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    02-07-2015
    Location
    Texas
    MS-Off Ver
    2015
    Posts
    30

    Re: VBA Error

    Thank you for your reply and guidance. I wasn't intentionally being vague with the title. I literally don't know why this error is happening and the ways to fix it aren't working.

  4. #4
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259

    Re: Encountering VBA Error - Can't find project or library without a way to fix it!

    Hello papaaj1,

    Does this occur with only the two workbooks you mention in post #1 or with other macro enabled workbooks on your computer?
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  5. #5
    Registered User
    Join Date
    02-07-2015
    Location
    Texas
    MS-Off Ver
    2015
    Posts
    30

    Re: Encountering VBA Error - Can't find project or library without a way to fix it!

    It first occurred a couple of days ago with a file that I don't even use the macros on. It then occurred with another file that has quite a few macros including one that uses the Solver.

  6. #6
    Forum Expert Alf's Avatar
    Join Date
    03-13-2004
    Location
    Gothenburg/Mullsjoe, Sweden
    MS-Off Ver
    Excel 2019 and not sure I like it
    Posts
    4,784

    Re: Encountering VBA Error - Can't find project or library without a way to fix it!

    Perhaps a problem with "Visual Basic for Applications"?

    This is found in the"Office Shared Feature" group. Just insert your Office installation disk, select "Add or Remove Features" and then VBA. Just make sure it is set to "Run from my computer".

    Alf

  7. #7
    Registered User
    Join Date
    02-07-2015
    Location
    Texas
    MS-Off Ver
    2015
    Posts
    30

    Re: Encountering VBA Error - Can't find project or library without a way to fix it!

    I'm using O365. Do you recommend uninstalling and then reinstalling?

+ 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] Odd Error Handling Behaviour; goes to error handler even when no error?
    By kalikj in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-04-2018, 10:04 AM
  2. [SOLVED] Run-tim error -2147467259(80004005): Automation error Unspecidied error
    By mattress58 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-25-2014, 12:12 PM
  3. Excel macro (compile error. syntax error.) error
    By salar_younis in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-06-2014, 06:11 AM
  4. Receiving following error “Complie error : syntax error” Help
    By masond3 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-02-2012, 10:19 AM
  5. Error "run-time Error '1004': General Odbc Error
    By D4WNO77 in forum Access Tables & Databases
    Replies: 2
    Last Post: 07-16-2012, 09:55 AM
  6. Error 75 File/Path access error, sometimes Error 1004
    By smokebreak in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 02-16-2011, 02:35 PM
  7. [SOLVED] Error Handling - On Error GoTo doesn't trap error successfully
    By David in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 02-16-2006, 02:10 PM

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