Very good.

The issue is this:

when sending the email, the values for:
.To=
.CC =
.BCC =

need to be strings, separated by ";"
You can "build" it using something like:

Dim AddrList As String
Dim C As Integer, R As Integer
R = 3
AddrList = ""
For C = 3 To 12
    If (ActiveSheet.Cells(R, C).Value <> "") Then
    If (Len(AddrList) > 0) Then AddrList = AddrList & ";"
    AddrList = AddrList & ActiveSheet.Cells(R, C).Value
    End If
Next C


Then, pass Addrlist to your EmailDta() function.

Paul
-----------------------------------------
“Do all the good you can,
By all the means you can,
In all the ways you can,
In all the places you can,
At all the times you can,
To all the people you can,
As long as ever you can.” - John Wesley
-----------------------------------------


 From: Gaurav Devrani <gauravdev1...@gmail.com>
>To: gawlianil8...@gmail.com; excel-macros@googlegroups.com 
>Sent: Tuesday, February 3, 2015 12:31 AM
>Subject: Re: $$Excel-Macros$$ multi mailer
>  
>
>
>I have also attached the file. in the attached file we are pulling our file 
>from specific location by browsing and then its sending emails to all . the 
>only concern is sending mail by clubing those emails in the single email. I 
>appreciate you being active on this group and being a good help. Thanks.
>
>
>Thanks
>Gaurav
>
>
>On Mon, Feb 2, 2015 at 10:04 PM, Anil Gawli <gawlianil8...@gmail.com> wrote:
>
>Dear Gaurav,
>>
>>Pls share the file
>>
>>regards,
>>Anil
>>
>>
>>On Tue, Feb 3, 2015 at 10:25 AM, Gaurav Devrani <gauravdev1...@gmail.com> 
>>wrote:
>>> Can anyone help me on this? I have a specific data and want to send that
>>> data to multiple recipients (have around 50 emails) but when i run my macro.
>>> It sends them individually instead of sending in a single Email. So much
>>> time consuming. Is there anyway to get it fixed.(like; Cc, Bcc for 50 or
>>> more emails) Please. Hope I was clear enough to explain.
>>>
>>>
>>>
>>> --
>>> Thanks
>>> Gaurav
>>>
>>> --
>>> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
>>> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
>>> https://www.facebook.com/discussexcel
>>>
>>> FORUM RULES
>>>
>>> 1) Use concise, accurate thread titles. Poor thread titles, like Please
>>> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will
>>> not get quick attention or may not be answered.
>>> 2) Don't post a question in the thread of another member.
>>> 3) Don't post questions regarding breaking or bypassing any security
>>> measure.
>>> 4) Acknowledge the responses you receive, good or bad.
>>> 5) Jobs posting is not allowed.
>>> 6) Sharing copyrighted material and their links is not allowed.
>>>
>>> NOTE : Don't ever post confidential data in a workbook. Forum owners and
>>> members are not responsible for any loss.
>>> ---
>>> You received this message because you are subscribed to the Google Groups
>>> "MS EXCEL AND VBA MACROS" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an
>>> email to mailto:excel-macros%2bunsubscr...@googlegroups.com.
>>> To post to this group, send email to excel-macros@googlegroups.com.
>>> Visit this group at http://groups.google.com/group/excel-macros.
>>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
>-- 
>
>Thanks & Regards
>Gaurav Devrani
>
> 
-- 
>Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
>=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
>https://www.facebook.com/discussexcel
> 
>FORUM RULES
> 
>1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
>Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
>quick attention or may not be answered.
>2) Don't post a question in the thread of another member.
>3) Don't post questions regarding breaking or bypassing any security measure.
>4) Acknowledge the responses you receive, good or bad.
>5) Jobs posting is not allowed.
>6) Sharing copyrighted material and their links is not allowed.
> 
>NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
>members are not responsible for any loss.
>--- 
>You received this message because you are subscribed to the Google Groups "MS 
>EXCEL AND VBA MACROS" group.
>To unsubscribe from this group and stop receiving emails from it, send an 
>email to excel-macros+unsubscr...@googlegroups.com.
>To post to this group, send email to excel-macros@googlegroups.com.
>Visit this group at http://groups.google.com/group/excel-macros.
>For more options, visit https://groups.google.com/d/optout.
>
>
>    

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups "MS 
EXCEL AND VBA MACROS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.

Reply via email to