How To Send Email To Multiple Recipients In A List From Excel Via ...
Có thể bạn quan tâm
If you have multiple email addresses in a column of worksheet, and now, you want to send an email to this list of recipients from Excel directly without opening the Outlook. This article, I will talk about how to send email to multiple recipients from Excel at the same time.
Send email to multiple recipients from Excel with VBA code
Send email to multiple recipients with current workbook as attachment by using VBA code
Send email to multiple recipients from Excel with VBA code
You can use a VBA code to send message to multiple recipients at once, please do as follows:
1. Hold down the ALT + F11 keys to open the Microsoft Visual Basic for Applications window.
2. Click Insert > Module, and paste the following code in the Module Window.
VBA code: Send email to multiple recipients
Sub sendmultiple() 'updateby Extendoffice Dim xOTApp As Object Dim xMItem As Object Dim xCell As Range Dim xRg As Range Dim xEmailAddr As String Dim xTxt As String On Error Resume Next xTxt = ActiveWindow.RangeSelection.Address Set xRg = Application.InputBox("Please select the addresses list:", "Kutools for Excel", xTxt, , , , , 8) If xRg Is Nothing Then Exit Sub Set xOTApp = CreateObject("Outlook.Application") For Each xCell In xRg If xCell.Value Like "*@*" Then If xEmailAddr = "" Then xEmailAddr = xCell.Value Else xEmailAddr = xEmailAddr & ";" & xCell.Value End If End If Next Set xMItem = xOTApp.CreateItem(0) With xMItem .To = xEmailAddr .Display End With End Sub3. And then press F5 key to execute this code, a prompt box will pop out to remind you selecting the addresses list, see screenshot:

4. Then click OK, and an Outlook Message window is displayed, you can see all the selected email addresses have been added into the To field, and then you can enter the subject and compose your message, see screenshot:

5. After finishing the message, please click Send button, and this message will be sent to these recipients in your worksheet list.
| Send personalized emails to multiple recipients with different attachments: With Kutools for Excel's Send Emails feature, you can quickly send personalized emails to multiple recipients with different attachments from Excel via Outlook as you need. At the same time, you can CC or Bcc the messages to a specific person as well. Click to download Kutools for Excel!
|
Send email to multiple recipients with current workbook as attachment by using VBA code
If you need to send a message to multiple recipients with current workbook as attachment, you can apply the following VBA code.
1. Hold down the ALT + F11 keys to open the Microsoft Visual Basic for Applications window.
2. Click Insert > Module, and paste the following code in the Module Window.
VBA code: Send email to multiple recipients with current workbook as attachment
Sub EmailAttachmentRecipients() 'updateby Extendoffice Dim xOutlook As Object Dim xMailItem As Object Dim xRg As Range Dim xCell As Range Dim xEmailAddr As String Dim xTxt As String On Error Resume Next xTxt = ActiveWindow.RangeSelection.Address Set xRg = Application.InputBox("Please select the arresses list:", "Kutools for Excel", xTxt, , , , , 8) If xRg Is Nothing Then Exit Sub Set xOutlook = CreateObject("Outlook.Application") Set xMailItem = xOutlook.CreateItem(0) For Each xCell In xRg If xCell.Value Like "*@*" Then If xEmailAddr = "" Then xEmailAddr = xCell.Value Else xEmailAddr = xEmailAddr & ";" & xCell.Value End If End If Next With xMailItem .To = xEmailAddr .CC = "" .Subject = "" .Body = "" .Attachments.Add ActiveWorkbook.FullName .Display End With Set xOutlook = Nothing Set xMailItem = Nothing End Sub3. After pasting the code, press F5 key to run this code, and a prompt box is popped out to remind you selecting the addresses you want to send message to, see screenshot:

4. Then click OK button, and an Outlook Message window is displayed, all the email addresses have been added into the To field, and your current workbook has been inserted as attachment too, and then you can enter the subject and compose your message, see screenshot:

5. Then click Send button to send this message to the list of recipients with the current workbook as attachment.
Related article:
How to send personalized mass emails to a list from Excel via Outlook?
Best Office Productivity Tools
| 🤖 | Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution | Generate Code | Create Custom Formulas | Analyze Data and Generate Charts | Invoke Kutools Functions… |
| Popular Features: Find, Highlight or Identify Duplicates | Delete Blank Rows | Combine Columns or Cells without Losing Data |Round without Formula ... | |
| Super Lookup: Multiple Criteria VLookup | Multiple Value VLookup | VLookup Across Multiple Sheets | Fuzzy Lookup .... | |
| Advanced Drop-down List: Quickly Create Drop Down List | Dependent Drop Down List | Multi-select Drop Down List .... | |
| Column Manager: Add a Specific Number of Columns | Move Columns | Toggle Visibility Status of Hidden Columns | Compare Ranges & Columns ... | |
| Featured Features: Grid Focus | Design View | Big Formula Bar | Workbook & Sheet Manager | Resource Library (Auto Text) | Date Picker | Combine Worksheets | Encrypt/Decrypt Cells | Send Emails by List | Super Filter | Special Filter (filter bold/italic/strikethrough...) ... | |
| Top 15 Toolsets: 12 Text Tools (Add Text, Remove Characters, ...) | 50+ Chart Types (Gantt Chart, ...) | 40+ Practical Formulas (Calculate age based on birthday, ...) | 19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...) | 12 Conversion Tools (Numbers to Words, Currency Conversion, ...) | 7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...) | ... and more |
Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time. Click Here to Get The Feature You Need The Most...
Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier
- Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
- Open and create multiple documents in new tabs of the same window, rather than in new windows.
- Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
All Kutools add-ins. One installer
Kutools for Office suite bundles add-ins for Excel, Word, Outlook & PowerPoint plus Office Tab Pro, which is ideal for teams working across Office apps.
- All-in-one suite — Excel, Word, Outlook & PowerPoint add-ins + Office Tab Pro
- One installer, one license — set up in minutes (MSI-ready)
- Works better together — streamlined productivity across Office apps
- 30-day full-featured trial — no registration, no credit card
- Best value — save vs buying individual add-in
Từ khóa » Visual Basic Send Email Multiple Recipients
-
Sending Email To Multiple Recipients In VB.NET - Stack Overflow
-
Thread: Sending Email To Multiple Addresses - VBForums
-
Send Email To Multiple Recipients In C#, VB, C++/CLI, JScript.NET
-
[Solved] Send Mail To Multiple Recipient - CodeProject
-
.Net 2.0 Send Email With Multiple “To” Recipients - MSDN - Microsoft
-
Sending Email To Multiple Recipients Using ASP.Net - C# Corner
-
Send Email From Excel To Multiple Recipients Using VBA And Outlook
-
Send Email To Multiple Recipients Using VBA | MrExcel Message Board
-
Outlook Send Same Email To Different Recipients | VBA Macro #31
-
Sending Email To Multiple Recipients, Vba - Excel
-
How To Send Email To Multiple Recipients With Addresses Stored ...
-
Sending Emails To Multiple Recipients - Visual Basic .NET
-
Send Email To Multiple Recipients | Blog - Limilabs
