Hi,
I am using an excel macro to automatically send email to numerous recipients. Is there a way to include paragraph spacing in the body of the message? This is the type of code I am using....
Sub SendEMail()
Dim objOL As Object
Dim objOLMsg As Object
Dim objOLRecip As Object
Dim student as String
Dim EmailSub as String
Dim EmailBody as String
Set objOL = CreateObject("Outlook.Application"
For i = 1 To 3
Set objOLMsg = objOL.CreateItem(olMailItem)
With objOLMsg
Set objOLRecip = .Recipients.Add(student)
objOLRecip.Type = olto
.Subject = EmailSub
.Body = EmailBody
.Send
End With
Next i
Set objOL = Nothing
End Sub
I am using an excel macro to automatically send email to numerous recipients. Is there a way to include paragraph spacing in the body of the message? This is the type of code I am using....
Sub SendEMail()
Dim objOL As Object
Dim objOLMsg As Object
Dim objOLRecip As Object
Dim student as String
Dim EmailSub as String
Dim EmailBody as String
Set objOL = CreateObject("Outlook.Application"
For i = 1 To 3
Set objOLMsg = objOL.CreateItem(olMailItem)
With objOLMsg
Set objOLRecip = .Recipients.Add(student)
objOLRecip.Type = olto
.Subject = EmailSub
.Body = EmailBody
.Send
End With
Next i
Set objOL = Nothing
End Sub