+ Reply to Thread
Results 1 to 6 of 6

Compile Error when trying to access macro - Only on my computer??

  1. #1
    Forum Contributor
    Join Date
    08-06-2007
    Posts
    105

    Compile Error when trying to access macro - Only on my computer??

    I have a sheet with some extensive macros which I created - it worked perfectly on my computer for about a year then all the sudden I get a "Compile Error - Can't find project or library" when trying to access the macro.

    Sometimes it even goes into "recovery mode" where it crashes, restarts and puts a red exclamation mark on the sheet title. Then it disables all my forums.

    I checked with other co-workers and the sheet works perfectly on all of their computers (I tried 3) but on mine only I get this error.

    Any advice?

  2. #2
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Compile Error when trying to access macro - Only on my computer??

    Hmmm ........ it could be a thousand things, probably is!

    Have you tried re-installing Excel?

  3. #3
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,256

    Re: Compile Error when trying to access macro - Only on my computer??

    Open the workbook on your computer, open the VB Editor, then check Tools-References and see if any of the checked items start with 'MISSING:'
    Remember what the dormouse said
    Feed your head

  4. #4
    Forum Contributor
    Join Date
    08-06-2007
    Posts
    105

    Re: Compile Error when trying to access macro - Only on my computer??

    Thanks for the responses - Yes - I had our IT department completely reinstall office (2003) and it made no difference.

    I tried looking into tools - references but the references section is grayed out.

  5. #5
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Compile Error when trying to access macro - Only on my computer??

    tried looking into tools - references but the references section is grayed out.
    This should only happen if you have no open workbooks, I assume you have opened the offending file first?

  6. #6
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,256

    Re: Compile Error when trying to access macro - Only on my computer??

    It would also happen if you were in Break Mode.

+ 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