+ Reply to Thread
Results 1 to 9 of 9

EXCEL 2011 Mac Macro

Hybrid View

johnkubik EXCEL 2011 Mac Macro 02-24-2011, 05:40 PM
johnkubik Re: EXCEL 2011 Mac Macro 02-25-2011, 11:49 AM
romperstomper Re: EXCEL 2011 Mac Macro 02-25-2011, 12:08 PM
johnkubik Re: EXCEL 2011 Mac Macro 02-25-2011, 12:12 PM
johnkubik Re: EXCEL 2011 Mac Macro 02-25-2011, 12:34 PM
romperstomper Re: EXCEL 2011 Mac Macro 02-25-2011, 12:37 PM
johnkubik Re: EXCEL 2011 Mac Macro 02-25-2011, 12:42 PM
Jim Gordon Mac MVP Re: EXCEL 2011 Mac Macro 04-09-2012, 10:14 AM
romperstomper Re: EXCEL 2011 Mac Macro 02-25-2011, 12:17 PM
  1. #1
    Registered User
    Join Date
    07-28-2006
    Posts
    9

    Re: EXCEL 2011 Mac Macro

    You are right... the problem is finding the mailhandler function for it. In windows it is

        Set OutApp = CreateObject("Outlook.Application")
        Set OutMail = OutApp.CreateItem(0)
    Mac outlook/mail does not have an object that I can find.

  2. #2
    Registered User
    Join Date
    04-09-2012
    Location
    Buffalo, NY
    MS-Off Ver
    Excel 2011
    Posts
    6

    Re: EXCEL 2011 Mac Macro

    To send a workbook as an email attachment using the default email application on the Mac you can use the following:


            If Application.OperatingSystem Like "*Mac*" Then
                    With ActiveWorkbook
                        .SendMail Recipients:=MyRecipients, Subject:="Travel Request Authorization was approved " & Format(Date, "M/DD/YY")
                    End With
            End If

    At the moment, you can only have a single email recipient in the To field (this bug has been reported to Microsoft). In the example above MyRecipients would be an email address as text. You could also use "someone@someplace.com"with quotation marks in place of MyRecipients. Although the Subject command is valid and allowed, the subject will not be populated. I'm hoping this gets fixed in SP2, but I'm not holding my breath.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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