Consulting

Results 1 to 7 of 7

Thread: Windows and Mac difference...Code wise

  1. #1
    Moderator VBAX Master austenr's Avatar
    Joined
    Sep 2004
    Location
    Maine
    Posts
    2,033
    Location

    Windows and Mac difference...Code wise

    What are the differences in coding VBA on a Mac and getting it to run on Windows. I believe I saw a post on here once that the differences were subtle. Any one know?

  2. #2
    Site Admin
    Urban Myth
    VBAX Guru
    Joined
    May 2004
    Location
    Oregon, United States
    Posts
    4,940
    Location
    Hmm, I don't remember them all, but I do remember that Macs do not support ActiveX controls, Runtime Script and some other controls.

    Here is a good discussion pertaining to this from earlier this year:
    http://www.dailydoseofexcel.com/arch...ivex-vs-forms/
    Also check out:
    http://tinyurl.com/wdgcr
    http://tinyurl.com/y5jozy
    http://tinyurl.com/yx2cz3

    In Excel 2001 for Mac, you cannot insert a Microsoft Data Map into a worksheet. There is no Map tool on the Standard toolbar, and the Map menu command does not appear on the Insert menu. (Reference)

  3. #3
    Moderator VBAX Master austenr's Avatar
    Joined
    Sep 2004
    Location
    Maine
    Posts
    2,033
    Location
    Thanks Zack. Guess Bill still doesn't want to play fair with Steve. Was thinking about buying a Powerbook. Mainly for the reason there are far less bugs and issues with the OS. Happy holidays!!!

  4. #4
    Site Admin
    Urban Myth
    VBAX Guru
    Joined
    May 2004
    Location
    Oregon, United States
    Posts
    4,940
    Location
    I want an iMac.

  5. #5
    Moderator VBAX Master austenr's Avatar
    Joined
    Sep 2004
    Location
    Maine
    Posts
    2,033
    Location
    Yea. IMHO they make a far superior product.

  6. #6
    VBAX Mentor Brandtrock's Avatar
    Joined
    Jun 2004
    Location
    Titonka, IA
    Posts
    399
    Location
    Of course Zack beat me to an answer.

    Here is a link to a thread where Shades answered a similar question I asked.

    Shades reply

    HTH
    Brandtrock




  7. #7
    VBAX Mentor tpoynton's Avatar
    Joined
    Feb 2005
    Location
    Clinton, MA
    Posts
    399
    Location
    I have an xla file that runs on both PC and Mac platforms. I ran into a few minor issues. One that I seem to recall had to do with unloading userforms; userform.hide did not work, but 'unload me' did. Also, if I recall, Excel 2001 for mac didnt come with the data analysis toolpak? Or perhaps it just wasnt installed by default. The mac also doesnt display menu icons if you use VBA to add menubar items (it doesnt show any menu icons, unlike windows). It doesnt affect performance in any way. It's been over a year since I grappled with any of this stuff...

    There were a few others that I have since forgot, and if I have any of these wrong, someone please correct me! My point, however, is that workarounds for the differences were relatively easy to find.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •