+ Reply to Thread
Results 1 to 2 of 2

Can't run a macro in Excel 2011

  1. #1
    Registered User
    Join Date
    07-01-2007
    Posts
    2

    Can't run a macro in Excel 2011

    Please accept my apologies for my complete lack of knowledge on this subject.

    I have a large spreadsheet that has a very considerable amount of VBA code in the background.

    This was written in Excel 2010 and successfully survived the transition to Excel 2013 with nary a glitch. However, I then went and bought a Mac and installed Excel 2011.

    The programme no longer runs and I get the following error

    Compile error can't find project or library. This occurs after I press CTL M, which in windows launched the macro and brought up a menu of options that I could choose from. The programme is then dropped into the debugger.

    Unfortunately my Dad wrote the programme for me and whilst he is fantastic he has absolutely no knowledge of Macs at all so wouldn't know where to start looking for the problem, and also doesn't have a mac on which to test it!

    Can anyone tell me if there are certain sequences or actions that Macs won't perform in macros.

    The programme is complicated and basically takes the inputs from 3 sheets, examines them and checks for errors, then summates them into different areas and fills in different worksheets to give compilation results.

    I need essentially to know whether I am on a hiding to nothing with this and should accept that I will always have to run the programme on a Windows machine, or whether it would be possible to make subtle changes behind the scene to allow it to successfully transfer to a Mac.

    Your help gratefully received.
    Thank you

  2. #2
    Valued Forum Contributor
    Join Date
    03-29-2013
    Location
    United Kingdom
    MS-Off Ver
    Office/Excel 2013
    Posts
    1,749

    Re: Can't run a macro in Excel 2011

    I'm not familiar with Macs so this is a suggestion only....
    1. Compile the code
    2. Go to VBA IDE Tools - References
    3. Where checked references are annotated as MISSING, uncheck them.

    Try again and it should work..
    Elegant Simplicity............. Not Always

+ 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] Help: Addition macro, Excel 2011
    By Cronone in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 06-14-2013, 03:26 PM
  2. Replies: 2
    Last Post: 11-26-2012, 08:33 AM
  3. [SOLVED] Macro/vba to change date format from 01.01.2011 to 01/01/2011
    By Darrenh1238 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-20-2012, 07:42 PM
  4. [SOLVED] Excel 2011 on Mac VBA Macro help works on PC will not on mac.
    By frisbie17 in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 8
    Last Post: 07-26-2012, 09:09 PM
  5. EXCEL 2011 Mac Macro
    By johnkubik in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 04-09-2012, 10:14 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