+ Reply to Thread
Results 1 to 4 of 4

Version of Mac not performing PC VBA code?

  1. #1
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,164

    Version of Mac not performing PC VBA code?

    Hi,

    I've been helping on a problem to do Golf Scores at:
    https://www.excelforum.com/excel-for...a-request.html

    After writing a lot of VBA to do what the OP wants I find out he is using Mac version 2011 of Excel. (Not 2003 PC version like his profile suggests) Will his version perform Advanced Filters and all the VBA code that I've written on my 2016 PC Widows version? If not what code do I need to watch out for in a conversion from PC to Mac (in VBA)?

    Would someone who has Mac Excel 365 (and knows a little VBA) please tell me what line of code errors in the following. If you click on either tab, the code is run. The OP installed Excel Mac 365 and now gets an error.

    Golf Buddies June Better Way 5.xls
    Last edited by MarvinP; 06-11-2017 at 11:46 PM.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,164

    Re: Version of Mac not performing PC VBA code?

    Bump

    Anyone have a Mac and can show me the line of code the above attached errors on?

  3. #3
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    Office 365 ProPlus
    Posts
    5,855

    Re: Version of Mac not performing PC VBA code?

    When I ran it, it gave following error.

    "Run-time error '1004':"
    The sort reference is not valid. Make sure that it's within the data you want to sort, and the first Sort By box isn't the same or blank.

    This applies to following section of the code.
    Please Login or Register  to view this content.
    Can't help you much beyond this. I have MAC for monitoring servers, but for not much else. All my coding are done on PC.
    ?Progress isn't made by early risers. It's made by lazy men trying to find easier ways to do something.?
    ― Robert A. Heinlein

  4. #4
    Registered User
    Join Date
    06-16-2017
    Location
    Armenia
    MS-Off Ver
    10 windows
    Posts
    3

    Re: Version of Mac not performing PC VBA code?

    excel is useful for future works

+ 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. VBA code works but isn't performing
    By shmowell in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-14-2016, 06:06 PM
  2. VBA Code to Check if File is open before performing the task
    By Archrael0327 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-30-2016, 04:51 AM
  3. Formulas not working in higher version, 2010 Version to 2013 version
    By thilag in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-19-2015, 09:09 PM
  4. Get code that works on excel version 2007 to work on version 2010
    By Agent1 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-21-2014, 01:23 AM
  5. Checkbox VB code isnt performing properly
    By mshaneweaver in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-20-2014, 03:38 PM
  6. No error but no result returned while performing a VBA Sorting Code
    By seigna in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-07-2013, 02:56 AM
  7. performing sum function using code
    By aman1234 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-10-2011, 03:37 PM

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