#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 32
Default e-mail

i am using "sendmail" to send out the workbook as below
e.g. workbook.SendMail emailaddr, subject

The email address is come from a contact list.
The problem is I can send to one email address only.

Any suggestion? Thanks.





  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default e-mail

workbook.Sendmail array(emailaddr1, emailaddr2, emailaddr3), subject

--
Regards,
Tom Ogilvy


"leungkong" wrote:

i am using "sendmail" to send out the workbook as below
e.g. workbook.SendMail emailaddr, subject

The email address is come from a contact list.
The problem is I can send to one email address only.

Any suggestion? Thanks.





  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default e-mail

Good to see you back Tom

Ron


--

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


"Tom Ogilvy" wrote in message ...
workbook.Sendmail array(emailaddr1, emailaddr2, emailaddr3), subject

--
Regards,
Tom Ogilvy


"leungkong" wrote:

i am using "sendmail" to send out the workbook as below
e.g. workbook.SendMail emailaddr, subject

The email address is come from a contact list.
The problem is I can send to one email address only.

Any suggestion? Thanks.







  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 32
Default e-mail

Thanks Ron de Bruin,
I read the website as below. I input two address in cell, using " ; " to
separate two address. But I've got the error 424.


You can use this to send to more then one person.
.To = "
Or you can use a mail address in a cell like this
.To = ThisWorkbook.Sheets("Sheet1").Range("C1").Value

"Ron de Bruin" wrote:

See two other ways on this page
http://www.rondebruin.nl/mail/tips1.htm

--

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


"leungkong" wrote in message ...
Thanks Tom,
But emailaddr is come from a contact list.
useing a code to search the address.
e.g.
Code Address
ABC

but the cell cannot input - ;
"


"Tom Ogilvy" wrote:

workbook.Sendmail array(emailaddr1, emailaddr2, emailaddr3), subject

--
Regards,
Tom Ogilvy


"leungkong" wrote:

i am using "sendmail" to send out the workbook as below
e.g. workbook.SendMail emailaddr, subject

The email address is come from a contact list.
The problem is I can send to one email address only.

Any suggestion? Thanks.






  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default e-mail

You are looking at the example page to change the outlook object model examples from my site

See
http://www.rondebruin.nl/mail/tips1.htm



--

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


"leungkong" wrote in message ...
Thanks Ron de Bruin,
I read the website as below. I input two address in cell, using " ; " to
separate two address. But I've got the error 424.


You can use this to send to more then one person.
.To = "
Or you can use a mail address in a cell like this
.To = ThisWorkbook.Sheets("Sheet1").Range("C1").Value

"Ron de Bruin" wrote:

See two other ways on this page
http://www.rondebruin.nl/mail/tips1.htm

--

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


"leungkong" wrote in message ...
Thanks Tom,
But emailaddr is come from a contact list.
useing a code to search the address.
e.g.
Code Address
ABC

but the cell cannot input - ;
"


"Tom Ogilvy" wrote:

workbook.Sendmail array(emailaddr1, emailaddr2, emailaddr3), subject

--
Regards,
Tom Ogilvy


"leungkong" wrote:

i am using "sendmail" to send out the workbook as below
e.g. workbook.SendMail emailaddr, subject

The email address is come from a contact list.
The problem is I can send to one email address only.

Any suggestion? Thanks.






  #8   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 770
Default e-mail

I second that. Don't really know who you are Tom, except a great resource
to this group. A while ago I noticed that that I wasn't seeing your name
here lately. This morning when I saw you answering questions, it brought a
smile to my face.

Doug

"Ron de Bruin" wrote in message
...
Good to see you back Tom

Ron


--

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


"Tom Ogilvy" wrote in message
...
workbook.Sendmail array(emailaddr1, emailaddr2, emailaddr3), subject

--
Regards,
Tom Ogilvy


"leungkong" wrote:

i am using "sendmail" to send out the workbook as below
e.g. workbook.SendMail emailaddr, subject

The email address is come from a contact list.
The problem is I can send to one email address only.

Any suggestion? Thanks.





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
Convert to HTML and e-mail selection as the body of the e-mail. ryanmhess Excel Programming 5 April 16th 09 01:28 AM
Error: cannot load the mail service. Check your mail installation. Brad Bowser Excel Discussion (Misc queries) 0 December 20th 05 10:03 PM
General mail failure when sending e-mail from Excel Adrienne Excel Discussion (Misc queries) 5 November 4th 05 12:59 PM
Creating TWO-WAY E-Mail Attachments with 'BeforeSave Events' in Code for 2nd E-Mail Chuckles123[_112_] Excel Programming 0 September 8th 05 05:56 PM


All times are GMT +1. The time now is 07:05 AM.

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"