Rule to set reminder if not set

  • Thread starter Thread starter Bob Smith
  • Start date Start date
B

Bob Smith

I'm going out of my mind here. I have a really simple rule that checks for
meeting requests as they arrive. If they have no reminder set, it's supposed
to set it. Seems simple enough. I even put a msgbox in for the subject to
ensure it actuallly fires. What am I missing, the reminder does not get set.

Sub SetReminder(Item As MeetingItem)
If ReminderSet = False Then
msgbox item.subject
Item.ReminderMinutesBeforeStart = 15
Item.ReminderSet = True
Item.Save
End If

Set Item = Nothing
End Sub
 
Sorry slight modification to that code, I should have copied and pasted.
Still have the issue.

Sub SetReminder(Item As MeetingItem)
If item.ReminderSet = False Then
msgbox item.subject
Item.ReminderMinutesBeforeStart = 15
Item.ReminderSet = True
Item.Save
End If
End Sub
 
Have you tried setting the reminder on the appointment?

Dim appt As Outlook.AppointmentItem
If Item.ReminderSet = False Then
MsgBox Item.Subject
Set appt = Item.GetAssociatedAppointment
With appt
.ReminderMinutesBeforeStart = 15
.ReminderSet = True
.Save
End With
End If

And if that doesn't work, maybe the solution is to use not a "run a script"
rule but code to monitor the Calendar folder for new items using the
Items.ItemAdd event.
 
Back
Top