Outlook 2013 'Run a script' rule has disappeared

时间秒杀一切 提交于 2019-12-01 22:08:11

I encountered this issue after a Windows Update. Here's what fixed it for me:

Save everything below the === line as a .reg file and then double-click it to run and launch (or manually add it your registry via regedit). You should probably backup your registry first to be safe and please note that this was the correct location for my Office 2013 installation (yours may be different). Office 2013 = 15.0 Office 2016 = 16.0

Save using Notepad as a .reg file to double-click and upload to your system's registry (Office 2013). I hope this helps someone else! -Mike

===

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Outlook\Security] "EnableUnsafeClientMailRules"=dword:00000001

here is a quick and dirty test to check whether vba code runs at all when email arrives

put it into "ThisOutLookSession" which is under "Microsoft Office Outlook Objects"

then send yourself an email ... if vba runs then you should see a popup

it will not solve your problem, but it will provide more info to help narrow down the cause

Private Sub Application_NewMailEx(ByVal EntryIDCollection As String)
    MsgBox "you have mail"
End Sub

Or you can create .reg file Open Notepad and save-as .reg

Outlook 2010

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\14.0\Outlook\Security]
"EnableUnsafeClientMailRules"=dword:00000001

For Outlook 2013 use \Office\15.0\ and Outlook 2016 \Office\16.0\

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!