How to send email to multiple recipients in Excel

merz

New Member
Joined
Jun 14, 2011
Messages
30
I have email address in column C in Excel, and would like to send the attached Excel document to those recipients in Column C.

How on earth do I do that? I've looked for the answer for hours. I found the simple icon, or File "send to", however, it will not allow me to send to all the recipients in Column C in the Excel spreadsheet.

Please save me!
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
Thanks dazwm for replying to my post so quickly :) However, you are talking to a "rookie" here. When I looked at your link, There are many different areas to go to, and quite frankly I'm still confused.

Since you're talking to a rookie here, is it possible to speak in layman's term (so sorry). Step by step. . .

I basically want to take all the email addresses in Column C of my Excel spreadsheet, grab those names, and send them the Excel attachement.

Every so thankful!
 
Upvote 0
Where is the attachment? Or is it the workbook where the e-mail addys are?
 
Upvote 0
The attachment is an Excel sheet, and also the same sheet which has the email addresses in Columm C.

Everyone says it's so easy to do, but NO ONE KNOWS HOW! That is why I am so grateful for people like you!!

I hope I can pull this off with your help.
 
Upvote 0
Someone also said it can be simply done via mail merge? I am using Excel 2003. I can't even find the Mail Merge in this darn, old, 2003 Version. I love my 2007 version I have at home!
 
Upvote 0
Maybe this

Code:
Sub Mail_ActiveSheet()
'Working in 97-2010
    Dim FileExtStr As String
    Dim FileFormatNum As Long
    Dim Sourcewb As Workbook
    Dim Destwb As Workbook
    Dim TempFilePath As String
    Dim TempFileName As String
    Dim I As Long
    Dim LR As Long

    With Application
        .ScreenUpdating = False
        .EnableEvents = False
    End With

    Set Sourcewb = ActiveWorkbook

    'Copy the sheet to a new workbook
    ActiveSheet.Copy
    Set Destwb = ActiveWorkbook

    'Determine the Excel version and file extension/format
    With Destwb
        If Val(Application.Version) < 12 Then
            'You use Excel 97-2003
            FileExtStr = ".xls": FileFormatNum = -4143
        Else
            'You use Excel 2007-2010, we exit the sub when your answer is
            'NO in the security dialog that you only see  when you copy
            'an sheet from a xlsm file with macro's disabled.
            If Sourcewb.Name = .Name Then
                With Application
                    .ScreenUpdating = True
                    .EnableEvents = True
                End With
                MsgBox "Your answer is NO in the security dialog"
                Exit Sub
            Else
                Select Case Sourcewb.FileFormat
                Case 51: FileExtStr = ".xlsx": FileFormatNum = 51
                Case 52:
                    If .HasVBProject Then
                        FileExtStr = ".xlsm": FileFormatNum = 52
                    Else
                        FileExtStr = ".xlsx": FileFormatNum = 51
                    End If
                Case 56: FileExtStr = ".xls": FileFormatNum = 56
                Case Else: FileExtStr = ".xlsb": FileFormatNum = 50
                End Select
            End If
        End If
    End With

    '    'Change all cells in the worksheet to values if you want
    '    With Destwb.Sheets(1).UsedRange
    '        .Cells.Copy
    '        .Cells.PasteSpecial xlPasteValues
    '        .Cells(1).Select
    '    End With
    '    Application.CutCopyMode = False

    'Save the new workbook/Mail it/Delete it
    TempFilePath = Environ$("temp") & "\"
    TempFileName = "Part of " & Sourcewb.Name & " " _
                 & Format(Now, "dd-mmm-yy h-mm-ss")

    With Destwb
        .SaveAs TempFilePath & TempFileName & FileExtStr, _
                FileFormat:=FileFormatNum
        LR = Range("C" & Rows.Count).End(xlUp).Row
        On Error Resume Next
        For I = 1 To LR
            .SendMail Range("C" & I).Value, _
                      "This is the Subject line"
            If Err.Number = 0 Then Exit For
        Next I
        On Error GoTo 0
        .Close SaveChanges:=False
    End With

    'Delete the file you have send
    Kill TempFilePath & TempFileName & FileExtStr

    With Application
        .ScreenUpdating = True
        .EnableEvents = True
    End With
End Sub
 
Upvote 0
But where do I put this code? As I said, I'm a rookie here and unfamiliar with the tricky stuff.

Layman terms please.
 
Upvote 0
But where do I put this code? As I said, I'm a rookie here and unfamiliar with the tricky stuff.

Layman terms please.

Open up your wookbook and select Alt+F11 which will open the VBA editor In the project window on the left, right click on the workbook on the left hand side and select view code then paste VoGs code into it then close using the top right hand cross.
 
Upvote 0
Press ALT + F11 to open the Visual Basic Editor. Select Module from the Insert menu then paste the code into the white space on the right. Press ALT + Q to close the code window.

Select the sheet that you want to e-mail, press ALT + F8, click on Mail_Activesheet then click the Run button.
 
Upvote 0

Forum statistics

Threads
1,224,564
Messages
6,179,543
Members
452,924
Latest member
JackiG

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top