PC Review


Reply
Thread Tools Rate Thread

ActiveWorkbook.SendMail Recipients

 
 
jknapp1005
Guest
Posts: n/a
 
      4th May 2009
I found a short little macro that will email my active workbook. It works
fine, but only if I put in one email address. I'm new to writing any macros,
don't know anything about programming, so, I'm sure it's just that I'm not
putting something in brackets or adding quotation marks. The macro is:

ActiveWorkbook.SendMail Recipients:= "email@address", Subject:="Whatever",
ReturnReceipt:= True

I've tried to put in more than one email address several ways and it hasn't
worked. If I only use one, it works great. Exactly as I wish, only I'd rather
have the option of sending to more than one person.
 
Reply With Quote
 
 
 
 
dan dungan
Guest
Posts: n/a
 
      4th May 2009
Try this from Ron de Bruin posted in 2003

Recipients:=Array("fi...@somewhere.com", "sec...@anotherwhere.com")

send mail doesn't support entering text. You can use Automation to do
this.
See the following sites for detailed information:

Ron de Bruin
http://www.rondebruin.nl/sendmail.htm
http://msdn.microsoft.com/library/en...tml/odc_xlmail...

Dick Kuselika
www.dicks-clicks.com

Tim Zych
www.rubbershoe.com/olmail.htm

--
Regards,
Tom Ogilvy
 
Reply With Quote
 
Ron de Bruin
Guest
Posts: n/a
 
      4th May 2009
See
http://www.rondebruin.nl/mail/tips1.htm

See also the mail code examples on the index page
http://www.rondebruin.nl/sendmail.htm

--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm




"jknapp1005" <(E-Mail Removed)> wrote in message news88071F9-0CDC-47A2-9985-(E-Mail Removed)...
>I found a short little macro that will email my active workbook. It works
> fine, but only if I put in one email address. I'm new to writing any macros,
> don't know anything about programming, so, I'm sure it's just that I'm not
> putting something in brackets or adding quotation marks. The macro is:
>
> ActiveWorkbook.SendMail Recipients:= "email@address", Subject:="Whatever",
> ReturnReceipt:= True
>
> I've tried to put in more than one email address several ways and it hasn't
> worked. If I only use one, it works great. Exactly as I wish, only I'd rather
> have the option of sending to more than one person.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
ActiveWorkbook.SendMail and IE - odd problem drumstruck Microsoft Excel Programming 0 12th Mar 2008 04:39 PM
Mutiple names in ActiveWorkbook.SendMail Recipients:= =?Utf-8?B?ZGFsZWF0c2hlbA==?= Microsoft Excel Misc 2 5th Feb 2007 08:06 PM
ActiveWorkbook.SendMail not working Craig Microsoft Excel Programming 1 7th Mar 2006 03:50 AM
ActiveWorkbook.SendMail =?Utf-8?B?U2FuZHk=?= Microsoft Excel Programming 2 15th Mar 2005 07:17 AM
Activeworkbook.sendmail Jamie Microsoft Excel Programming 2 2nd Oct 2003 01:25 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:07 PM.