I've seen several discussions on this topic that I've tried to utilize, but whenever I attempt to initiate the "click" nothing happens. Can someone give me some direction on what I might be doing wrong?
Sub Sendmail()
Dim StrEmail, StrBody As String
Dim objOutlook As Object
Dim objEmail As Object
Set objOutlook = CreateObject("Outlook.application")
Set objEmail = objOutlook.CreateItem(0)
With objEmail
.To = strDistribution_List
.Subject = strTitle
.Body = strTitle
End With
Exit Sub
End Sub
Thank you for any help you can provide!
Sub Sendmail()
Dim StrEmail, StrBody As String
Dim objOutlook As Object
Dim objEmail As Object
Set objOutlook = CreateObject("Outlook.application")
Set objEmail = objOutlook.CreateItem(0)
With objEmail
.To = strDistribution_List
.Subject = strTitle
.Body = strTitle
End With
Exit Sub
End Sub
Thank you for any help you can provide!