+ Reply to Thread
Results 1 to 4 of 4

Addon error : Run-time error '1004': Method 'MacroOptions' of object '_Application' failed

  1. #1
    Registered User
    Join Date
    02-04-2014
    Location
    Tuscaloosa, Al
    MS-Off Ver
    Excel:Mac 2011
    Posts
    2

    Addon error : Run-time error '1004': Method 'MacroOptions' of object '_Application' failed

    I am trying to install an add-in supplied by my professor on excel:mac 2011, and I get the error in the title. I have attached the .xlam file saved as a .xlsm and included a link to school webpage where the original files are located. Please help me fix this issue! I am new to macros and vba, and have searched google for a possible solution but found nothing. Thanks for anything you can provide! http://www.me.ua.edu/ExcelinME/heat.htm HeatTransfer.xlsm

  2. #2
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: Addon error : Run-time error '1004': Method 'MacroOptions' of object '_Application' fa

    This add-in code will not work on a Mac.
    • Please remember to mark threads Solved with Thread Tools link at top of page.
    • Please use code tags when posting code: [code]Place your code here[/code]
    • Please read Forum Rules

  3. #3
    Registered User
    Join Date
    02-04-2014
    Location
    Tuscaloosa, Al
    MS-Off Ver
    Excel:Mac 2011
    Posts
    2

    Re: Addon error : Run-time error '1004': Method 'MacroOptions' of object '_Application' fa

    Thank you for the answer. If you do not mind, will you tell me why it is incompatible with a Mac? Also, would you please give me a brief overview of the best way make user defined functions or point me towards a good guide? I apologize if these are ignorant or futile requests, but I would rather ask and know than not ask and not know. Again, I appreciate any help I receive.

  4. #4
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: Addon error : Run-time error '1004': Method 'MacroOptions' of object '_Application' fa

    I only had quick look but there are hardcoded paths with "\" in the code - this will not be valid path on a Mac. Also the arguments for MacroOptions (and other VBA methods) are not completely compatible between Mac and Windows.

    I am not sure what you mean by best way to make user-defined functions?

+ 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. Run-time Error 1004: Method 'SaveCopyAs' of object '_Workbook failed'
    By melissadunham68 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-29-2014, 08:08 AM
  2. Run-Time error 1004 Method 'OnTime' of object '_Application' failed
    By PBM in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 08-29-2013, 10:00 PM
  3. me too - run-time error '1004' method 'range' of object '_worksheet' failed
    By ASAFSWIS in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-07-2013, 05:14 PM
  4. Run time error 50290 method 'ontime' of object '_application' failed
    By newengwong in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-21-2012, 08:06 PM
  5. Run-time error '1004'. Method 'Range' of object '_Global' failed
    By mjj347 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-24-2012, 11:09 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