Is there a VBA script that will
- Create a draft email for each Contact Group
- With the Contact Group's contacts in the "TO" field
- With a uniform Subject
- With a uniform Body
- ...and bonus if the body includes the Signature
Background: In my contact list I have about 50 Contact Groups, each representing a client, and each containing multiple contacts. Once a month, I must email an invoice to each client. This currently entails
- creating an email for each of the 50 Contact Groups
- copying a subject line to each of the 50 drafts
- copying a body to each of the 50 drafts
I've found plenty of references for creating emails via VBA, but nothing about using Contact Groups to power it.
Sub NewEmail()
Dim myOutlook As Outlook.Application
Dim objMailMessage As Outlook.MailItem
Set myOutlook = Outlook.Application
Set objMailMessage = myOutlook.CreateItem(0)
With objMailMessage
.To = "" '?
.Subject = "Email subject"
.Body = "Email body." 'Msg + Signature?
.Display
.Save
.Close olPromptForSave
End With
End Sub