Chr*_*ava 9 microsoft-outlook-2003
我需要添加一个自定义脚本来处理 Outlook 会议请求。(请参阅此问题)用于选择脚本的下拉菜单为空,并且似乎没有添加脚本的方法。 如何添加可通过 Outlook 规则使用的脚本?
在 Outlook 中,转到“工具”>“宏”>“可视化基本编辑器”
R 键单击项目 1 并选择插入 > 模块
在 Module1 中添加以下代码:
Sub CustomMeetingRequestRule(Item As Outlook.MeetingItem)
If Item.ReminderSet = False Then
Item.GetAssociatedAppointment(False).ReminderMinutesBeforeStart = 15
End If
End Sub
Run Code Online (Sandbox Code Playgroud)
点击保存
制定您的规则,当您单击“脚本”链接时,脚本应显示为一个选项。
该代码应该执行您在其他问题中所追求的内容,但尚未对其进行测试。
参考链接:http : //support.microsoft.com/kb/306108