+ Reply to Thread
Results 1 to 2 of 2

Convert VBA from PC Excel to Mac 2011 Excel

  1. #1
    Registered User
    Join Date
    09-20-2013
    Location
    McKees Rocks, PA
    MS-Off Ver
    Excel 2013
    Posts
    19

    Convert VBA from PC Excel to Mac 2011 Excel

    I have a VBA code which I wrote that works fine on my PC, but the person I wrote it for uses a Mac and says he is getting errors.
    I know there are slight differences in the coding and was wondering if anyone could help me rewrite this so it works on Mac 2011.
    I don't have a Mac to test it on so it's hard to identify where the problem(s) is(are.) I have tried to find a site that explain the differences in coding between PC & Mac, but haven't found anything that clearly shows how to change coding from one platform the another.
    Any help is greatly appreciated.

    Please Login or Register  to view this content.

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Convert VBA from PC Excel to Mac 2011 Excel

    I'm not a Mac guy. So I'm only offeing a suggestion.

    I think your problem is just promting the user to open a file on a Mac. That bit is a little different than for a PC.

    Once the file is open, the rest of your code is fairly stright forward. It justs copy\pastes and sets a VLOOKUP formula. I think (not positive) that part is all the same on a PC and Mac.

    Here is a good link that shows you how to prompt a user to open a file for a Mac.
    Select files on a Mac (GetOpenFilename)

    That's all I have to offer. Good luck.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

+ 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. Convert VBA from PC Excel to Mac 2011 Excel
    By kyuuten in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 2
    Last Post: 04-18-2013, 04:00 PM
  2. Replies: 1
    Last Post: 02-24-2013, 06:28 PM
  3. Convert Dates in 2011:08:17 format into Dates in Excel
    By JessRI in forum Excel - New Users/Basics
    Replies: 12
    Last Post: 09-11-2012, 09:55 AM
  4. Replies: 0
    Last Post: 03-19-2012, 07:32 PM
  5. Convert Date - 8/29/2011 to 2011.08.29
    By artiststevens in forum Excel General
    Replies: 4
    Last Post: 08-29-2011, 06:10 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