Outlook 2013 'Run a script' rule has disappeared

南笙酒味 提交于 2019-12-02 00:20:08

问题


I have some rules for work in outlook 2013 - however following my laptop crashing the other day, I can no longer run any rules, they simply do not work (I don't even get a debug notification). Upon checking my macros, I found that when I tried to click on any scripts I have and I keep getting the message 'This action is not available in the current mode'. The option to create a new script has disappeared from the rule list too.

So far I have tried: -Using the outlook 2016 fix by running the registry fix DWORD 1 (There is nothing out there for 2013). I have restarted my Pc and it still has not changed a thing. -System restore to a previous date. This has literally changed nothing.

I'm a little stuck. I have attached screenshots to further explain exactly what I am experiencing.

Thanks,

Rachael

Some information has been whited out due to confidentiality.

Trust Centre Settings:


回答1:


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




回答2:


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



回答3:


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\



来源:https://stackoverflow.com/questions/44923509/outlook-2013-run-a-script-rule-has-disappeared

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