+ Reply to Thread
Results 1 to 4 of 4

Using an Excel ss w/macros on a Mac laptop, error when opening, missing kernel32

  1. #1
    Forum Contributor
    Join Date
    08-22-2009
    Location
    Manitoba
    MS-Off Ver
    Office 2010
    Posts
    524

    Using an Excel ss w/macros on a Mac laptop, error when opening, missing kernel32

    This Excel spreadsheet I developed with macro's works fine on pc's running Windows, but a friend just bought a Mac laptop with Office 2016 for Mac and when he tries to open the spreadsheet it says "Runtime error '53': file not found kernel32". I understand that ActiveX controls will not work, which the spreadsheet has, but I deleted them and we still get the same error when opening. I am not familiar with Mac's, thus why I am asking on this forum. Would it be as simple as installing kernel32 on the Mac, but I thought this was a windows program (kernel32)? Thanks for any and all help you can provide!

  2. #2
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Using an Excel ss w/macros on a Mac laptop, error when opening, missing kernel32

    Unfortunately macros and such written on a Windows PC will not work on a Mac.
    1N73LL1G3NC3 15 7H3 4B1L17Y 70 4D4P7 70 CH4NG3 - 573PH3N H4WK1NG
    You don't have to add Rep if I have helped you out (but it would be nice), but please mark the thread as SOLVED if your issue is resolved.

    Tom

  3. #3
    Forum Expert
    Join Date
    04-01-2013
    Location
    East Auckland
    MS-Off Ver
    Excel 365
    Posts
    1,343

    Re: Using an Excel ss w/macros on a Mac laptop, error when opening, missing kernel32

    You would have to rewrite them, maybe have a section that identifies the platform something like this

    http://www.rondebruin.nl/mac/mac001.htm

    then run the appropriate macros for that platform.

    you'd need a mac for testing where the code needs changing.

  4. #4
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent Monthly Channel / Insiders Beta
    Posts
    8,908

    Re: Using an Excel ss w/macros on a Mac laptop, error when opening, missing kernel32

    It sounds like you are using Windows API calls. They will not work on a Mac.

    Regular macros should be 80-90% compatible across platforms.

+ 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] VBA editor automatically opening up after screen saver, laptop closing/opening etc...
    By clogistics in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 02-08-2016, 12:22 PM
  2. New Laptop, macros no longer work...
    By malcolmlo in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-22-2013, 02:32 PM
  3. Serial I/O using kernel32
    By IanWade in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-12-2011, 03:32 PM
  4. Error opening Excel with macros
    By DanW in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-29-2006, 02:50 PM
  5. Opening Excel worksheet - missing link?
    By rena in forum Excel General
    Replies: 2
    Last Post: 09-17-2006, 09:53 AM
  6. Opening Excel worksheet - missing link?
    By rena in forum Excel General
    Replies: 0
    Last Post: 09-16-2006, 12:26 PM
  7. Replies: 3
    Last Post: 05-10-2006, 07:35 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