vba 使宏在 Outlook 中自动运行
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/3804762/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Making a macro runs automatically in Outlook
提问by guest1
I wrote a macro in VBA that does an action on some of the files that arrive to my inbox in Outlook. However, I will have to click a button or a shortkey to run this macro. Is there a way that this macro runs automatically whenever an email arrives to my inbox? Please help,
我在 VBA 中编写了一个宏,它对到达我的 Outlook 收件箱的一些文件执行操作。但是,我必须单击按钮或快捷键才能运行此宏。有没有办法让这个宏在电子邮件到达我的收件箱时自动运行?请帮忙,
回答by Jaydee
You should be able use an Outlook rule to run a script. Have a look at "Rules and Alerts" and creating custom rules.
您应该能够使用 Outlook 规则来运行脚本。查看“规则和警报”并创建自定义规则。
回答by elsni
Maybe this contains an answer to your question: http://www.ureader.com/msg/1081942.aspx
也许这包含您问题的答案:http: //www.ureader.com/msg/1081942.aspx