I have written code to reminder me of the due date in cell C6. I would like to amend the code so that reminder are sent to Outlook calender for C7 onwards where there is no blank cell
See Sample Data and code
It would be appreciated if someone could kindly assist me
I have also posted on Sending Reminder of due date to Outlook calender via Excel
See Sample Data and code
Excel 2012 | ||||||||
---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | |||
1 | 23/08/2017 | |||||||
2 | No. | Branch | Reminder Due Date-10 | Due Date | Duration | Subject | ||
3 | 1 | BR1 | 20/11/2017 8:00 | 30/11/2017 | 30 | BR1 is due on 30/11/2017 | ||
4 | 2 | BR2 | 10/01/2018 8:00 | 20/01/2018 | 30 | BR2 is due on 20/01/2018 | ||
5 | 3 | BR3 | 10/01/2018 8:00 | 20/01/2018 | 30 | BR3 is due on 20/01/2018 | ||
6 | 4 | BR4 | 10/01/2018 8:00 | 20/01/2018 | 30 | BR4 is due on 20/01/2018 | ||
7 | 5 | BR5 | 20/11/2017 8:00 | 30/11/2017 | 30 | BR5 is due on 30/11/2017 | ||
License Due Dates |
Code:
Sub Reminders()
Dim appOL As Object
Dim objReminder As Object
Set appOL = GetObject(, "Outlook.application")
Set objReminder = appOL.CreateItem(1) ' olAppointmentItem
objReminder.Start = Range("C6")
objReminder.Duration = Range("E6") ' 30
objReminder.Subject = Range("F6") ' subject text
objReminder.ReminderSet = True
objReminder.Save
End Sub
It would be appreciated if someone could kindly assist me
I have also posted on Sending Reminder of due date to Outlook calender via Excel
Last edited: