+ Reply to Thread
Results 1 to 3 of 3

Problem with macro when used on Excel for Mac

  1. #1
    Registered User
    Join Date
    03-09-2015
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013
    Posts
    13

    Question Problem with macro when used on Excel for Mac

    Hi everyone,

    I am having a problem with a database I made using a PC when used on a Mac. The database involves multiple userforms and pivot tables. After I first experienced a problem I looked into the userforms and realized Active-X buttons wouldn't work with Mac. So I changed the buttons to the form controls. Now, I am using this macro attached to a form control button to update the pivot tables:

    Please Login or Register  to view this content.
    That seems to be working fine. Now, I have a report sheet called "Summary Report" that has pivot tables using data from multiple sheets. I only wanted to have to use one set of slicers to control multiple tables from different sources, so I have a hidden sheet called "Master Slicers" that has all of the slicers and I have code written to the "Master Slicers" sheet that lets the user control all of the slicers just by clicking the ones on the "Summary Report" sheet. This code works just fine on my PC but when used on a Mac, it causes Excel to shut down. Here is that code:

    Please Login or Register  to view this content.
    SO, any ideas on why this would work on a PC but not a Mac? I don't have access to a Mac to test on so if anyone has a Mac with the most updated version of Excel I can send the whole file.

    Update: after some research I've read that macros won't run on hidden sheets (which would be the "Master Slicers" sheet - BUT, I'm not sure why this would have worked on my PC if it's not possible at all. ANY insight at all would be appreciated.

    Thank you!

    Alison
    Last edited by alisonhs; 12-21-2015 at 07:09 PM.

  2. #2
    Forum Expert skywriter's Avatar
    Join Date
    06-09-2014
    Location
    USA
    MS-Off Ver
    2016
    Posts
    2,760

    Re: Problem with macro when used on Excel for Mac

    Please use code tags around your code, so it retains its original formatting and for ease of copying.

    Choose to edit your post, highlight all the code, press the # in the toolbar, then choose the save button at the bottom of your post.

    The code should then have this format.

    Please Login or Register  to view this content.
    Click the * Add Reputation button in the lower left hand corner of this post to say thanks.

    Don't forget to mark this thread SOLVED by going to the "Thread Tools" drop down list above your first post and choosing solved.

  3. #3
    Forum Expert skywriter's Avatar
    Join Date
    06-09-2014
    Location
    USA
    MS-Off Ver
    2016
    Posts
    2,760

    Re: Problem with macro when used on Excel for Mac

    Thank you Alison.

    Anyone with a Mac have any input on this?

+ 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. Problem with recording a macro with long formula - works in Excel but not in macro
    By tonybeo2 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-28-2015, 11:25 AM
  2. [SOLVED] Excel Macro - Copy & Paste (Font) problem & Delete Last Added Rows problem
    By LennartB in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-05-2015, 06:58 AM
  3. [SOLVED] Problem when changing Macro from Excel 2007 (Windows) to Excel 2011 (Mac)
    By TrialandError80 in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 1
    Last Post: 01-02-2014, 07:26 AM
  4. Problem with Excel 2003 macro in Excel 2010.
    By madiaz in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-25-2013, 03:27 AM
  5. [SOLVED] excel macro problem
    By yvaurin in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-12-2005, 07:07 PM
  6. RE: excel macro problem
    By yvautrin in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-12-2005, 04:06 PM
  7. [SOLVED] RE: excel macro problem
    By Jim Thomlinson in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-12-2005, 04:06 PM

Tags for this Thread

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