Hello Mates,
I really appreciate your support as I'm trying to use excel as task scheduler software to do the following
Send Auto notifications or reminder from MS outlook In specific date and time It could be on regular basis (recurrence) To different people each time With different subjects and message (email body) for each taskPlease help
I use the below code to use excel to send through outlook
Dim olApp As Outlook.Application
Set olApp = CreateObject("Outlook.Application")
Dim olMail As Outlook.MailItem
Set olMail = olApp.CreateItem(olMailItem)
olMail.To = email at example dot com
olMail.Subject = "Excel Notification"
olMail.Body = olMail.Body + "Dear Mr. Excel, " & vbNewLine & vbNewLine _
& ThisJob & "Kindly update your Open Cases and followup flags." & vbNewLine & vbNewLine _
& ThisJob & "Regards," & vbNewLine _
& ThisJob & "MR Follow up"
olMail.Send