Consulting

Results 1 to 5 of 5

Thread: Opening other programs

  1. #1
    VBAX Newbie
    Joined
    Jun 2005
    Posts
    4
    Location

    Opening other programs

    Next up is how can I get vba to open Entourage and send an email with an attached worksheet?

    I used to do it to send an absence list from my register to the correct Head of Year within the school. Sadly I have lost all the code I used as it was on a Windows version of Excel and worked with Outlook.

    Anyone know how to do it?

  2. #2
    Mac Moderator VBAX Expert shades's Avatar
    Joined
    May 2004
    Location
    Kansas City, USA
    Posts
    638
    Location
    I'm thinking that AppleScript might be the way to handle that, perhaps calling this macro from within it. BlueCactus might have a better approach.

    Software: LibreOffice 3.3 on Mac OS X 10.6.5
    (retired Excel 2003 user, 3.28.2008 )
    Humanware: Older than dirt
    --------------------
    old, slow, and confused
    but at least I'm inconsistent!

    Rich

  3. #3
    VBAX Tutor
    Joined
    Mar 2005
    Posts
    268
    Location
    Quote Originally Posted by shades
    I'm thinking that AppleScript might be the way to handle that, perhaps calling this macro from within it. BlueCactus might have a better approach.
    Yeah, that would be my best bet. I don't have time to work through Entourage (as an Apple Mail user), but fortunately the Great Google delivers a page which I think has an answer that you'll like:

    http://www.mcgimpsey.com/macoffice/e...lsendmail.html

    Incidentally, a little checking around reveals that....
    * Excel VBA's SendMail is not supported on Mac.
    * The 'Send To' command on the File menu is not recordable.
    * The Services --> Mail --> Send To command is unavailable in Excel.
    * Entourage does not support VBA.

    So, the AppleScript approach is probably the only reasonable bet (for either Entourage or Apple Mail).

  4. #4
    VBAX Newbie
    Joined
    Jun 2005
    Posts
    4
    Location
    Thanks I'll check that out, have to use entourage as apple mail won't work at work, as it is I had to circumnavigate a few things to get entourage to work without having to go through terminal server.
    It's times like this that I wish I had a PC laptop instead! (Heresy I know)

  5. #5
    Mac Moderator VBAX Expert shades's Avatar
    Joined
    May 2004
    Location
    Kansas City, USA
    Posts
    638
    Location
    Quote Originally Posted by Slim8589
    It's times like this that I wish I had a PC laptop instead! (Heresy I know)
    Nah, you don't ever want to have that "wish".

    Of course, next year you will at least get the Intel side of it.

    Software: LibreOffice 3.3 on Mac OS X 10.6.5
    (retired Excel 2003 user, 3.28.2008 )
    Humanware: Older than dirt
    --------------------
    old, slow, and confused
    but at least I'm inconsistent!

    Rich

Posting Permissions

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