如何在 Outlook 2007 中启用 ThisOutlookSession? [英] How to enable ThisOutlookSession in Outlook 2007?

查看:141
本文介绍了如何在 Outlook 2007 中启用 ThisOutlookSession?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我把任何代码放在那里,它就不会被执行(看起来像一些安全设置?).尝试在信任中心禁用宏验证 - 无济于事.

If I put there any code, it is just not executed (looks like some security settings?). Tried to disable macro verification in the Trust Center - it doesn't help.

我尝试使用的代码:12.

Code I've tried to use: 1, 2.

推荐答案

更改安全设置后,重新启动 Outlook.

After changing your security settings, restart Outlook.

http://office.microsoft.com/en-us/help/enable-or-disable-macros-in-office-documents-HA010031071.aspx#BM13

您还需要使用 Office 附带的自认证工具对您的 VBA 项目进行自签名.执行此操作后,重新启动 Outlook,您应该会看到一个对话框,要求您信任"该项目.

You'll also want to self-sign your VBA project using the self-cert tool included with Office. After doing so, restart Outlook and you should see a dialog asking you to "trust" the project.

这篇关于如何在 Outlook 2007 中启用 ThisOutlookSession?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆