I have a data of stores and need to send a mass email to persons and need to customize each mail before sending like body of email need to filter by individual person.
I have a simple code. but need to customize it
Code is Sub sendmail() Dim olApp As Outlook.Application Dim olMail As Outlook.MailItem
For i = 2 To 4 Set olApp = New Outlook.Application Set olMail = olApp.CreateItem(olMailItem)
With olMail .To = Cells(i, 1).Value .Subject = Cells(i, 2).Value .Body = Cells(i, 3).Value .Display ''.send End With
Set olMail = Nothing Set olApp = Nothing Next
Recent Questions...
ما را در سایت Recent Questions دنبال میکنید
برچسب: vba code to open a file,vba code to save workbook,vba code to delete blank rows,vba code to run macro,vba code to delete rows,vba code to open excel file,vba code to send email,vba code to find last row,vba code to close workbook,vba code to sort data,
نویسنده: استخدام کار
بازدید: 450
تاريخ: جمعه
22 مرداد
1395 ساعت: 10:13