+ Reply to Thread
Results 1 to 6 of 6

Macro working in windows machine but not working in MAC

  1. #1
    Forum Contributor
    Join Date
    03-13-2008
    MS-Off Ver
    Office 365
    Posts
    134

    Macro working in windows machine but not working in MAC

    Hi,

    The below macro works fine in windows machine but when I shared it with my friend who has Mac, it is giving error hat"Pubic Function Send () not defined". We both are using Office365

    Please note, This macro is for sending individual emails using Lotus Notes to multiple users.

    Can you please advise where am i missing..?

    Please Login or Register  to view this content.

  2. #2
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,873

    Re: Macro working in windows machine but not working in MAC

    Hi,

    I have never used Office for Mac, so I cannot be certain, but I suspect there is some library which the code uses that is available in Windows and not available in MAC..
    Cheers!
    Deep Dave

  3. #3
    Forum Contributor
    Join Date
    02-26-2014
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    173

    Re: Macro working in windows machine but not working in MAC

    This macro appears to heavily rely on Lotus Notes objects. You can see this with the following lines
    Please Login or Register  to view this content.
    and
    Please Login or Register  to view this content.
    I would double check to make sure that Lotus Notes is installed on the Mac and listed in Excel's references.

  4. #4
    Forum Contributor
    Join Date
    03-13-2008
    MS-Off Ver
    Office 365
    Posts
    134

    Re: Macro working in windows machine but not working in MAC

    Hi smpita, Thnaks for your reply.. Yes it is for sending emails using Lotus Notes which is installed on the MAC machine.. can you please tell me how to check if it is listed in Excel's References..?

  5. #5
    Forum Contributor
    Join Date
    02-26-2014
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    173

    Re: Macro working in windows machine but not working in MAC

    I... can't seem to find it. It appears to be in a different place in OSX Excel. The option is not in the described location on my Mac Excel 2016. Maybe your version is different and it can be found on your machine in the location described by one of these links.

    https://msdn.microsoft.com/en-us/vba...rary-reference

    https://answers.microsoft.com/en-us/...7-7e872b693ba9

  6. #6
    Forum Contributor
    Join Date
    02-26-2014
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    173

    Re: Macro working in windows machine but not working in MAC

    OSX uses some sandboxing techniques that may also be getting in the way of communication between Excel and Lotus Notes.

    https://msdn.microsoft.com/en-us/lib.../mt654019.aspx
    Unlike other versions of Office apps that support VBA, Office 2016 for Mac apps are sandboxed.
    Sandboxing restricts the apps from accessing resources outside the app container. This affects any add-ins or macros that involve file access or communication across processes.

+ 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] Macro working in windows machine but not working in MAC
    By amitmodi_mrt in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-15-2017, 02:12 PM
  2. VBA code not working on Mac machine running Excel 2011 (works fine on Windows!)
    By LochWulf in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-19-2016, 11:25 PM
  3. Hide Columns Macro - Working on Windows not working on Mac OSX
    By bcadar in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-08-2016, 09:05 AM
  4. [SOLVED] F8/F5, etc. not working in VBA editor (HP Windows 7 machine)
    By joe31623 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-29-2015, 01:52 PM
  5. macro to open pdf to specific page not working on different machine
    By mcdermott2 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-07-2014, 03:31 PM
  6. Replies: 1
    Last Post: 02-06-2013, 06:13 PM
  7. Working code on my machine is returning out of range error on another machine.
    By je.suis.ketan in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-16-2012, 11:51 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