+ Reply to Thread
Results 1 to 3 of 3

ActiveWorkbook.SendMail - Message body

  1. #1
    al007
    Guest

    ActiveWorkbook.SendMail - Message body

    Sub SendActiveWorkbook()
    ActiveWorkbook.SendMail _
    Recipients:="[email protected]", _
    Subject:="Test" & Format(Date, "dd/mmm/yy")
    End Sub

    How can I add a message body to the above mail??


  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259
    Hello Al007,

    The SendMail method has no option for "Body" because the Workbook is considered to be the body of the email. To have a body to the email you would need to send the workbook as an attached file through another program like Outlook.

    Sincerely,
    Leith Ross

  3. #3
    Ron de Bruin
    Guest

    Re: ActiveWorkbook.SendMail - Message body

    Like Leith told you this is not possible with SendMail
    But if you onlu use Outlook Express and not Outlook look at CDO
    http://www.rondebruin.nl/cdo.htm


    --
    Regards Ron de Bruin
    http://www.rondebruin.nl


    "Leith Ross" <[email protected]> wrote in message
    news:[email protected]...
    >
    > Hello Al007,
    >
    > The SendMail method has no option for "Body" because the Workbook is
    > considered to be the body of the email. To have a body to the email you
    > would need to send the workbook as an attached file through another
    > program like Outlook.
    >
    > Sincerely,
    > Leith Ross
    >
    >
    > --
    > Leith Ross
    > ------------------------------------------------------------------------
    > Leith Ross's Profile: http://www.excelforum.com/member.php...o&userid=18465
    > View this thread: http://www.excelforum.com/showthread...hreadid=504252
    >




+ 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