Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 118
Default ActiveWorkbook.SendMail - Message body

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

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

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default ActiveWorkbook.SendMail - Message body


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

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default 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" wrote in message
...

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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Body for e-mail using sendMail Tempy Excel Programming 5 September 19th 05 09:07 PM
Alert message during Activeworkbook.sendmail N10 Excel Programming 3 April 2nd 05 01:32 PM
ActiveWorkbook.SendMail Sandy Excel Programming 2 March 15th 05 07:17 AM
ActiveWorkbook.SendMail Security Warning Michael Rekas[_2_] Excel Programming 2 December 16th 04 05:28 PM
Activeworkbook.sendmail Jamie[_5_] Excel Programming 2 October 2nd 03 01:25 PM


All times are GMT +1. The time now is 01:48 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"