?
Solved

Outlook 2010 - Email "Rules" and running scripts

Posted on 2013-10-28
3
Medium Priority
?
362 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 35

Expert Comment

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

HTH,
Dan
0
 
LVL 3

Accepted Solution

by:
netmaster1355 earned 2000 total points
ID: 39605022
Save in module. The first line should look like

Sub RunAScriptRule(MyMail As MailItem)
0
 

Author Comment

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

Featured Post

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A list of top three free exchange EDB viewers that helps the user to extract a mailbox from an unmounted .edb file and get a clear preview of all emails & other items with just a single click on mailboxes.
New style of hardware planning for Microsoft Exchange server.
This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Suggested Courses
Course of the Month10 days, 9 hours left to enroll

765 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