Solved

Outlook 2010 - Email "Rules" and running scripts

Posted on 2013-10-28
3
352 Views
Last Modified: 2013-10-28
I would like to run a VBA macro when an email arrives.  However, when I specified "run a script", my dialog box does not let me select any of the macros I created.  
Am I missing something here?  Are scripts and macros different?
(see graphic)

err
0
Comment
Question by:brothertruffle880
3 Comments
 
LVL 34

Expert Comment

by:Dan Craciun
Comment Utility
You need to use Outlook VB. See here: http://support.microsoft.com/kb/306108

HTH,
Dan
0
 
LVL 3

Accepted Solution

by:
netmaster1355 earned 500 total points
Comment Utility
Save in module. The first line should look like

Sub RunAScriptRule(MyMail As MailItem)
0
 

Author Comment

by:brothertruffle880
Comment Utility
YES!  It was the parenthetical argument I neglected.
Thanks netmaster 1355
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Sometimes Outlook might have problems sending a message. There may be various causes- corrupted PST, AV scanner etc. The message, instead of going to the Sent Items folder, sits in the Outbox indefinitely. To remove it you can use a free tool cal…
Outlook Free & Paid Tools
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
In this video we show how to create an Accepted Domain in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Ac…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now