Outlook中的VBA可扩展性 [英] VBA Extensibility in Outlook

查看:89
本文介绍了Outlook中的VBA可扩展性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想为Outlook 2007编写一个宏,该宏可以在VBA编辑器中添加/删除模块. VBA可扩展性库看起来很完美,但是像Application.VBE这样的属性似乎不可访问.

I'd like to write a macro for Outlook 2007 that can add/remove modules in the VBA editor. The VBA Extensibility library looks perfect, but properties like Application.VBE seem to be inaccessible.

在Excel中,我需要启用对VBA项目对象模型的信任访问" /a>.不幸的是,Outlook 2007中缺少此选项.

In Excel, I would need to enable "Trust access to the VBA project object model". Unfortunately, this option is missing in Outlook 2007.

有人知道解决这个问题的方法吗?

Does anyone know of a way around this?

提前谢谢!

推荐答案

我使用

  • Alt-F11
  • Ctrl-M
  • 代码模块路径
  • 输入
  • 不优雅,但是足够好.

    这篇关于Outlook中的VBA可扩展性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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