+ Reply to Thread
Results 1 to 2 of 2

VBA Code to test if running on Mac or PC

  1. #1
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    VBA Code to test if running on Mac or PC

    Does anyone know of VBA Code to test if the Excel File is running on a Mac or on a Windows Based PC?

    Something like

    Please Login or Register  to view this content.
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

  2. #2
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: VBA Code to test if running on Mac or PC

    I found this link to Mr. De Bruin's site.

    https://msdn.microsoft.com/en-us/lib...rOpers_Correct

    I'll try it...if another has additional insight, please let me know.

    Seems to do the job...Thanks Ron...
    Last edited by jaslake; 02-19-2015 at 04:03 PM.

+ 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] How to prevent worksheet code from running while Module Macro is running:
    By Chad Bateman in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-11-2015, 09:26 AM
  2. [SOLVED] Excel VB code. Message pops up while code running asking question. Code must not wait.
    By Heinrich Venter in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-28-2014, 06:10 AM
  3. [SOLVED] running test 15 alert excel
    By emilyloz in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-01-2013, 01:23 PM
  4. [SOLVED] vbNo running even if test not true
    By Daveesaunders in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-22-2012, 03:05 PM
  5. If statement to test value in cell before running code
    By Motox in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-23-2012, 04:49 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