Application.Reminder is just an event that fires when a reminder comes due.
It has nothing to do with the reminders window and you can't cancel that
from that event.
You can access the Application.Reminders collection and handle the
Reminders.BeforeReminderShow() event, which has a Cancel argument that if
set to true will cancel display of the reminders window (and prevent the
reminder from firing so that Application.Reminder won't fire in that case.
The ReminderFire() event passes the Reminder object that fires the event,
but that happens after BeforeReminderShow(), so if you cancel the reminder
there you wouldn't get ReminderFire(). BeforeReminderShow() doesn't pass you
the actual reminder that would fire. For that you'd need to iterate the
Reminders collection and see which reminder would be firing.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm
"Stuart Parker" wrote in message
...
Hi, just a quick one....
If I hook into this event, will my code completely replace the default
reminder action (displaying that dialog box), or will the dialog box
appear after my code has completed?
If the latter, any way to stop the dialog appearing?
Cheers
Stu