ไปยังเนื้อหาหลัก

จะส่งอีเมลส่วนบุคคลไปยังรายการจาก Excel ผ่าน Outlook ได้อย่างไร

ตัวอย่างเช่นฉันมีช่วงข้อมูลต่อไปนี้ในแผ่นงานซึ่งมีคอลัมน์ชื่อที่อยู่อีเมลรหัสการลงทะเบียนและตอนนี้ฉันต้องการส่งข้อความพร้อมคำทักทายส่วนตัวและรหัสการลงทะเบียนของพวกเขาไปยังที่อยู่อีเมลที่แยกในคอลัมน์ A เพื่อแก้ปัญหานี้วิธีการต่อไปนี้อาจช่วยคุณได้

doc ส่งอีเมลส่วนตัว 1

ส่งอีเมลส่วนบุคคลไปยังรายการจาก Excel ด้วยฟังก์ชันจดหมายเวียน

ส่งอีเมลส่วนบุคคลไปยังรายการจาก Excel พร้อมรหัส VBA

ส่งอีเมลส่วนบุคคลไปยังรายการที่มีไฟล์แนบต่าง ๆ โดยใช้ Kutools for Excel


ลูกศรสีฟ้าฟองขวา ส่งอีเมลส่วนบุคคลไปยังรายการจาก Excel ด้วยฟังก์ชันจดหมายเวียน

ด้วยคำว่า จดหมายเวียน คุณสามารถทำงานนี้ให้เสร็จได้อย่างรวดเร็วและง่ายดายโปรดทำตามขั้นตอนต่อไปนี้:

1. เปิดใช้งานเอกสาร Word เปล่าใหม่จากนั้นคลิก จดหมาย > เลือกผู้รับ > ใช้รายการที่มีอยู่ดูภาพหน้าจอ:

doc ส่งอีเมลส่วนตัว 2

2. ใน เลือกแหล่งข้อมูล หน้าต่างเลือกสมุดงานที่มีช่วงข้อมูลที่คุณต้องการใช้แล้วคลิก จุดเปิด ปุ่มดูภาพหน้าจอ:

doc ส่งอีเมลส่วนตัว 3

3. ที่กำลังจะมาถึง เลือกตาราง โปรดเลือกแผ่นงานที่มีช่วงข้อมูลที่คุณต้องการจากนั้นคลิก OK ปุ่มดูภาพหน้าจอ:

doc ส่งอีเมลส่วนตัว 4

4. และเอกสารหลักของข้อความอีเมลและรายการที่อยู่ของคุณได้เชื่อมต่อเข้าด้วยกันตอนนี้คุณสามารถแก้ไขข้อความและเพิ่มตัวยึดตำแหน่งที่ระบุตำแหน่งที่ข้อมูลเฉพาะจะปรากฏในแต่ละข้อความ

(1. ) ในการใส่ชื่อทักทายของแต่ละคนให้คลิก จดหมาย > แทรกเขตข้อมูลผสาน > Nameชื่อส่วนบุคคลถูกแทรกลงในข้อความและชื่อฟิลด์ล้อมรอบด้วย «».

doc ส่งอีเมลส่วนตัว 5

(2. ) พิมพ์ข้อความของคุณและใส่ไฟล์ รหัสลงทะเบียน ในสถานที่ที่คุณต้องการดูภาพหน้าจอ:

doc ส่งอีเมลส่วนตัว 6

5. หลังจากเขียนข้อความแล้วคุณสามารถคลิก ดูตัวอย่างผลลัพธ์ ภายใต้ จดหมาย เพื่อดูตัวอย่างข้อความอีเมลและทำการเปลี่ยนแปลงก่อนที่คุณจะทำการผสาน

6. หลังจากแน่ใจว่าไม่มีปัญหาคุณสามารถส่งอีเมลไปยังผู้รับที่แยกจากกันได้โปรดคลิก จดหมาย > เสร็จสิ้นและผสาน > ส่งข้อความอีเมลดูภาพหน้าจอ:

doc ส่งอีเมลส่วนตัว 7

7. จากนั้นในโผล่ออกมา ผสานเข้ากับอีเมล ไดอะล็อกบ็อกซ์ให้ดำเนินการดังต่อไปนี้:

(1. ) จากไฟล์ ไปยัง รายการแบบเลื่อนลงโปรดเลือก ที่อยู่อีเมล คอลัมน์;

(2. ) คุณสามารถพิมพ์หัวเรื่องลงในไฟล์ หัวข้อ กล่องข้อความบรรทัด

(3. ) จากไฟล์ ส่งบันทึก เลือก ทั้งหมด.

doc ส่งอีเมลส่วนตัว 8

8. จากนั้นคลิก OKอีเมลจะถูกส่งไปยังผู้รับที่แยกจากกันพร้อมรหัสการลงทะเบียนของตนเองในคราวเดียวหลังจากส่งอีเมลแล้วคุณสามารถไปที่ Outlook เพื่อให้แน่ใจว่าส่งอีเมลสำเร็จ


ส่งอีเมลส่วนตัวไปยังผู้รับหลายคนพร้อมไฟล์แนบที่แตกต่างกัน:

กับ Kutools สำหรับ Excel's ส่งอีเมลล์ คุณสามารถส่งอีเมลส่วนตัวไปยังผู้รับหลาย ๆ คนได้อย่างรวดเร็วด้วยไฟล์แนบที่แตกต่างกันจาก Excel ผ่าน Outlook ตามที่คุณต้องการ ในขณะเดียวกันคุณสามารถ CC หรือ Bcc ข้อความถึงบุคคลใดบุคคลหนึ่งได้เช่นกัน       ดาวน์โหลดและทดลองใช้ Kutools for Excel ฟรีทันที!

doc ส่งอีเมลส่วนตัว 18 1


ลูกศรสีฟ้าฟองขวา ส่งอีเมลส่วนบุคคลไปยังรายการจาก Excel พร้อมรหัส VBA

ยกเว้นฟังก์ชันจดหมายเวียนรหัส VBA ต่อไปนี้สามารถช่วยคุณได้โปรดทำตามนี้:

1. กด ALT + F11 และจะเปิดไฟล์ Microsoft Visual Basic สำหรับแอปพลิเคชัน หน้าต่าง

2. คลิก สิ่งที่ใส่เข้าไป > โมดูลและวางรหัสต่อไปนี้ในไฟล์ โมดูล หน้าต่าง.

รหัส VBA: ส่งอีเมลส่วนบุคคลไปยังรายการจาก Excel:

#If VBA7 And Win64 Then
    Private Declare PtrSafe Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" ( _
                         ByVal hwnd As LongPtr, ByVal lpOperation As String, _
                         ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, _
                         ByVal nShowCmd As Long) As LongPtr
#Else
    Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" ( _
                         ByVal hwnd As Long, ByVal lpOperation As String, _
                         ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, _
                         ByVal nShowCmd As Long) As Long
#End If
Sub SendEMail()
'update by Extendoffice 20160506
    Dim xEmail As String
    Dim xSubj As String
    Dim xMsg As String
    Dim xURL As String
    Dim i As Integer
    Dim k As Double
    Dim xCell As Range
    Dim xRg As Range
    Dim xTxt As String
    On Error Resume Next
    xTxt = ActiveWindow.RangeSelection.Address
    Set xRg = Application.InputBox("Please select the data range:", "Kutools for Excel", xTxt, , , , , 8)
    If xRg Is Nothing Then Exit Sub
    If xRg.Columns.Count <> 3 Then
        MsgBox " Regional format error, please check", , "Kutools for Excel"
        Exit Sub
    End If
    For i = 1 To xRg.Rows.Count
'       Get the email address
        xEmail = xRg.Cells(i, 2)
'       Message subject
        xSubj = "Your Registration Code"
'       Compose the message
        xMsg = ""
        xMsg = xMsg & "Dear " & xRg.Cells(i, 1) & "," & vbCrLf & vbCrLf
        xMsg = xMsg & " This is your Registration Code "
        xMsg = xMsg & xRg.Cells(i, 3).Text & "." & vbCrLf & vbCrLf
        xMsg = xMsg & " please try it, and glad to get your feedback! " & vbCrLf
        xMsg = xMsg & "Skyyang"
'       Replace spaces with %20 (hex)
        xSubj = Application.WorksheetFunction.Substitute(xSubj, " ", "%20")
        xMsg = Application.WorksheetFunction.Substitute(xMsg, " ", "%20")
'       Replace carriage returns with %0D%0A (hex)
        xMsg = Application.WorksheetFunction.Substitute(xMsg, vbCrLf, "%0D%0A")
'       Create the URL
        xURL = "mailto:" & xEmail & "?subject=" & xSubj & "&body=" & xMsg
'       Execute the URL (start the email client)
        ShellExecute 0&, vbNullString, xURL, vbNullString, vbNullString, vbNormalFocus
'       Wait two seconds before sending keystrokes
        Application.Wait (Now + TimeValue("0:00:02"))
        Application.SendKeys "%s"
    Next
End Sub

3. จากนั้นกด F5 คีย์เพื่อเรียกใช้รหัสนี้และกล่องพร้อมต์จะปรากฏขึ้นเพื่อเตือนให้คุณเลือกช่วงข้อมูลที่คุณต้องการใช้ดูภาพหน้าจอ:

doc ส่งอีเมลส่วนตัว 9

4. จากนั้นคลิก OK อีเมลจะถูกส่งไปยังที่อยู่ที่แยกจากกันพร้อมรหัสการลงทะเบียนของแต่ละบุคคลทีละรายการหลังจากส่งอีเมลแล้วคุณสามารถไปที่ Outlook ของคุณเพื่อให้แน่ใจว่าส่งอีเมลเรียบร้อยแล้ว

หมายเหตุ: ในโค้ดด้านบนคุณสามารถเปลี่ยนหัวข้อหรือเนื้อหาตามความต้องการของคุณได้


ลูกศรสีฟ้าฟองขวา ส่งอีเมลส่วนบุคคลไปยังรายการที่มีไฟล์แนบต่าง ๆ โดยใช้ Kutools for Excel

ถ้าคุณมี Kutools สำหรับ Excelเดียวกันกับที่ ส่งอีเมลล์ คุณลักษณะนี้คุณสามารถส่งอีเมลส่วนตัวไปยังผู้รับหลาย ๆ คนได้อย่างรวดเร็วด้วยไฟล์แนบที่แตกต่างกันตามที่คุณต้องการ

Kutools สำหรับ Excel : ด้วย Add-in ของ Excel ที่มีประโยชน์มากกว่า 300 รายการทดลองใช้ฟรีโดยไม่มีข้อ จำกัด ใน 30 วัน. 

หลังจากการติดตั้ง Kutools สำหรับ Excelโปรดทำตามนี้:

1. คลิก Kutools พลัส > ส่งอีเมลล์ดูภาพหน้าจอ:

2. ใน ส่ง Emials โปรดเลือกช่วงข้อมูลที่คุณต้องการใช้จากนั้นระบุที่อยู่ผู้รับเอกสารแนบและหัวเรื่องตามที่คุณต้องการดูภาพหน้าจอ:

doc ส่งอีเมลส่วนตัว 9

3. ในช่องแก้ไขให้ใส่ชื่อทักทายแต่ละชื่อโปรดเลือก Name จากรายการแบบหล่นลงจากนั้นคลิก แทรกตัวยึดตำแหน่ง เพื่อแทรกชื่อลงในข้อความโปรดดูภาพหน้าจอ:

doc ส่งอีเมลส่วนตัว 9

4. จากนั้นพิมพ์เนื้อหาข้อความของคุณลงในช่องตามที่คุณต้องการดูภาพหน้าจอ:

doc ส่งอีเมลส่วนตัว 9

5. หลังจากเสร็จสิ้นเนื้อหาอีเมลโปรดเลือกโหมดการส่งตามที่คุณต้องการคุณสามารถส่งโดยใช้ Outlook หรือเซิร์ฟเวอร์ที่คุณระบุดู screesnhot:

doc ส่งอีเมลส่วนตัว 9

หมายเหตุ: หากคุณต้องการใช้เซิร์ฟเวอร์อื่นให้คลิก การตั้งค่าเซิร์ฟเวอร์ขาออก หากต้องการตั้งค่าโหมดการส่งเป็นของคุณเองโปรดดูที่ screesnhot:

doc ส่งอีเมลส่วนตัว 9

6. ในที่สุดคลิก ส่ง ปุ่มสำหรับส่งอีเมลหลังจากเสร็จสิ้นกล่องข้อความแจ้งจะปรากฏขึ้นเพื่อเตือนสถานะการส่ง ดู screesnhot:

doc ส่งอีเมลส่วนตัว 9

คลิกดาวน์โหลดและทดลองใช้ฟรี Kutools for Excel ทันที!


การสาธิต: ส่งอีเมลส่วนบุคคลไปยังรายการจาก Excel ผ่าน Outlook

Kutools สำหรับ Excel: ด้วย Add-in ของ Excel ที่มีประโยชน์มากกว่า 300 รายการให้ทดลองใช้ฟรีโดยไม่มีข้อ จำกัด ใน 30 วัน ดาวน์โหลดและทดลองใช้ฟรีทันที!

บทความที่เกี่ยวข้อง:

จะส่งอีเมลไปยังผู้รับหลายคนในรายการจาก Excel ผ่าน Outlook ได้อย่างไร

สุดยอดเครื่องมือเพิ่มผลผลิตในสำนักงาน

🤖 Kutools AI ผู้ช่วย: ปฏิวัติการวิเคราะห์ข้อมูลโดยยึดตาม: การดำเนินการที่ชาญฉลาด   |  สร้างรหัส  |  สร้างสูตรที่กำหนดเอง  |  วิเคราะห์ข้อมูลและสร้างแผนภูมิ  |  เรียกใช้ฟังก์ชัน Kutools...
คุณสมบัติยอดนิยม: ค้นหา เน้น หรือระบุรายการที่ซ้ำกัน   |  ลบแถวว่าง   |  รวมคอลัมน์หรือเซลล์โดยไม่สูญเสียข้อมูล   |   รอบโดยไม่มีสูตร ...
การค้นหาขั้นสูง: VLookup หลายเกณฑ์    VLookup หลายค่า  |   VLookup ข้ามหลายแผ่น   |   การค้นหาที่ไม่ชัดเจน ....
รายการแบบเลื่อนลงขั้นสูง: สร้างรายการแบบหล่นลงอย่างรวดเร็ว   |  รายการแบบหล่นลงขึ้นอยู่กับ   |  เลือกหลายรายการแบบหล่นลง ....
ผู้จัดการคอลัมน์: เพิ่มจำนวนคอลัมน์เฉพาะ  |  ย้ายคอลัมน์  |  สลับสถานะการมองเห็นของคอลัมน์ที่ซ่อนอยู่  |  เปรียบเทียบช่วงและคอลัมน์ ...
คุณสมบัติเด่น: กริดโฟกัส   |  มุมมองการออกแบบ   |   บาร์สูตรใหญ่    สมุดงานและตัวจัดการชีต   |  ห้องสมุดทรัพยากร (ข้อความอัตโนมัติ)   |  เลือกวันที่   |  รวมแผ่นงาน   |  เข้ารหัส/ถอดรหัสเซลล์    ส่งอีเมลตามรายการ   |  ซุปเปอร์ฟิลเตอร์   |   ตัวกรองพิเศษ (กรองตัวหนา/ตัวเอียง/ขีดทับ...) ...
ชุดเครื่องมือ 15 อันดับแรก12 ข้อความ เครื่องมือ (เพิ่มข้อความ, ลบอักขระ, ... )   |   50 + แผนภูมิ ประเภท (แผนภูมิ Gantt, ... )   |   40+ ใช้งานได้จริง สูตร (คำนวณอายุตามวันเกิด, ... )   |   19 การแทรก เครื่องมือ (ใส่ QR Code, แทรกรูปภาพจากเส้นทาง, ... )   |   12 การแปลง เครื่องมือ (ตัวเลขเป็นคำ, การแปลงสกุลเงิน, ... )   |   7 ผสานและแยก เครื่องมือ (แถวรวมขั้นสูง, แยกเซลล์, ... )   |   ... และอื่น ๆ

เพิ่มพูนทักษะ Excel ของคุณด้วย Kutools สำหรับ Excel และสัมผัสประสิทธิภาพอย่างที่ไม่เคยมีมาก่อน Kutools สำหรับ Excel เสนอคุณสมบัติขั้นสูงมากกว่า 300 รายการเพื่อเพิ่มประสิทธิภาพและประหยัดเวลา  คลิกที่นี่เพื่อรับคุณสมบัติที่คุณต้องการมากที่สุด...

รายละเอียด


แท็บ Office นำอินเทอร์เฟซแบบแท็บมาที่ Office และทำให้งานของคุณง่ายขึ้นมาก

  • เปิดใช้งานการแก้ไขและอ่านแบบแท็บใน Word, Excel, PowerPoint, ผู้จัดพิมพ์, Access, Visio และโครงการ
  • เปิดและสร้างเอกสารหลายรายการในแท็บใหม่ของหน้าต่างเดียวกันแทนที่จะเป็นในหน้าต่างใหม่
  • เพิ่มประสิทธิภาพการทำงานของคุณ 50% และลดการคลิกเมาส์หลายร้อยครั้งให้คุณทุกวัน!
Comments (47)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Hi, I have used this from your Kutools for Excel, and it works a dream. However, the Outlook email signature is not working, despite it being checked off. I have a default email signature set up in Outlook to go with the default mail account. But no matter how many times I try, I can't get Kutools to insert the signature before sending the email. Should I be doing something different in Outlook with the email signature?
This comment was minimized by the moderator on the site
Hello, Rochelley
Did you select the signature from the Outlook's Signatures and Stationery dialog box, see screenshot:
https://www.extendoffice.com/images/stories/comments/comment-skyyang/doc-signature-1.png
Please check it first, thank you!

If there still problem, please comment here.
This comment was minimized by the moderator on the site
I've used KuTools Send Emails for personalized attachments using an Excel list and it works well. Is it possible to use this functionality to send personalized links to shared files instead of attachments? I've tried and haven't been able to get this to work.
This comment was minimized by the moderator on the site
Hello, Blanchard

With our Send Emails feature, you can send the links of the shared files successfully.
You just need to change the attachment path to the link of the shared file, see below screenshot:

https://www.extendoffice.com/images/stories/comments/comment-skyyang/doc-bulk-send-emails.png

Please try, hope it can help you!

If this doesn't work, you can upload your error image here, so that we can check the problem.
This comment was minimized by the moderator on the site
I've used KuTools Send Emails for personalized attachments using an Excel list and it works well. Is it possible to use this functionality to send personalized links to shared files instead of attachments? I've tried and haven't been able to get this to work.
This comment was minimized by the moderator on the site
In "Send personalized mass emails to a list from Excel with VBA code", it cannot work.For starters, the instructions wrt F11 does nothing, and so useless blather.Next, the #If...#End If cannot exist anywhere, as it (1) is treated as a comment and (2) the compiler crashes (cannot compile).So one tries it after the End Sub because the compiler says in effect comments to be after End Sub.Naturally, the "ShellExecute" causes a crash because it is not declared: remember, the #If...#End If had to be removed.
It would be nice to have WORKING code.
This comment was minimized by the moderator on the site
Thanks for the "How To Send Personalized Mass Emails To A List From Excel Via Outlook?", it is very useful.Question: I have 2 email addresses on my outlook. I want to use the 2nd one to send the personalized mass emails. How should I do that? I cannot find the way of changing the "From" when I finish&Merge. Can you help?
This comment was minimized by the moderator on the site
Hello, Pilar,The normal Mail Merge function only can help to send the emials from the default account, if you want to send eamils from other account you defined, you can use our Send Emails feature of Kutools for Excel. You can download and installed the Kutools for Excel, free trial 30 days.Please try, hope it can help you!
This comment was minimized by the moderator on the site
<p>Could you please help me to include table structure in below code ?</p><p>Gopalakrishnan</p>
This comment was minimized by the moderator on the site
I used the kutools send mail option after sending mail theres no attachment
This comment was minimized by the moderator on the site
Hi, marian,
Do you type the full path of the attachments into the cells? Please check it. Thank you!
This comment was minimized by the moderator on the site
No I didn't type the path rather I used the insert link button to add the attachment
This comment was minimized by the moderator on the site
Hi, I have to send to one email address(BOT) multiple request for *documents.
* Subject line needs to be the document reference number as demonstrated in below table.
Email ID Subject
# policy 111
# policy 222
# policy 333
# policy 444
# policy 555
# policy 666
# policy 777
# policy 888
# policy 999
# policy 1110

please help me simplyfy my task. I use MS outlook 2013 and 2016
This comment was minimized by the moderator on the site
Email ID Subject
# policy 111
# policy 222
# policy 333
# policy 444
# policy 555
# policy 666
# policy 777
# policy 888
# policy 999
# policy 1110
This comment was minimized by the moderator on the site
Sub SendEm()

Dim i As Integer, Mail_Object, Email_Subject, o As Variant, lr As Long

lr = Cells(Rows.Count, "A").End(xlUp).Row

Set Mail_Object = CreateObject("Outlook.Application")

For i = 2 To lr

With Mail_Object.CreateItem(o)

.Subject = Range("B" & i).Value

.To = Range("A" & i).Value



.Body = Range("C" & i).Value

.attachments.Add (Sheets("Sheet1").Range("H" & i).Text)

.attachments.Add (Sheets("Sheet1").Range("I" & i).Text)

.attachments.Add (Sheets("Sheet1").Range("J" & i).Text)

.attachments.Add (Sheets("Sheet1").Range("K" & i).Text)

.Send



'.display 'disable display and enable send to send automatically

End With

Next i

MsgBox "E-mail successfully sent", 64

Application.DisplayAlerts = False

Set Mail_Object = Nothing

End Sub
There are no comments posted here yet
Load More
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations