取消Outlook约会时处理ItemChange事件 [英] Handle ItemChange event when outlook appointments are dismissed
问题描述
我创建了一些宏,以将日历事件从工作电子邮件转发到个人电子邮件.一个组件是ItemChange事件,当我的工作日历上的项目发生更改时,该事件将更新我的个人日历.我遇到的问题是,每当我取消Outlook中的约会提醒时,都会触发"itemchange"事件.我正在尝试开发一些措施,以防止在取消提醒时运行我的物品更改程序.有人知道如何处理吗?没有人知道在取消提醒时AppointmentItem的什么属性会发生变化吗?
I have created some macros to forward my calendar events from my work email to my personal email. One component is a ItemChange event that will update my personal calendar when items change on my work calendar. I am having a problem in that every time I dismiss an appointment reminder in outlook it triggers the "itemchange" event. I am trying to develop something to prevent my item change procedures from running when a reminder is dismissed. Anyone have an idea how to handle this? Does anyone know what property of the AppointmentItem changes when a reminder is dismissed?
推荐答案
您不能这样做.取消提醒时,将设置几个属性并保存约会.变化就是变化.
You cannot do that. When you dismiss a reminder, a couple properties are set and the appointment is saved. A change is a change.
这篇关于取消Outlook约会时处理ItemChange事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!