HI,
I have some VBA code that sends an email to specific recipients based on inputs from the user. The code works flawlessly. I just need to improve it to show the actual display names of the recipients rather than the specific email addresses. This way all recipients can see who is receiving the email, even if they do not know whose email address is whose. Is this possible?
Would I have to add this manually to the code for each recipient?
Current Example: bsmith@co.com
Example Wanted: Bob Smith
Any help is appreciated!
I have some VBA code that sends an email to specific recipients based on inputs from the user. The code works flawlessly. I just need to improve it to show the actual display names of the recipients rather than the specific email addresses. This way all recipients can see who is receiving the email, even if they do not know whose email address is whose. Is this possible?
Would I have to add this manually to the code for each recipient?
Current Example: bsmith@co.com
Example Wanted: Bob Smith
Rich (BB code):
Set OutApp = CreateObject("Outlook.Application")
Set OutMail = OutApp.CreateItem(0)
With Destwb
On Error Resume Next
With OutMail
.display
.To = ToEmails
.CC = CCEmails
.BCC = ""
.Subject = "Random Subject"
.HTMLBody = body & .HTMLBody
End With
Any help is appreciated!