![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#5
|
|||
|
|||
![]()
On Thu, 3 Sep 2009 05:21:01 -0700, Brad
wrote: Michael, Sorry, I didn’t explain very clearly what I am trying to do. I have set up a little VBA module that is initiated by Outlook each time a new e-mail arrives. It simply displays a message that control was passed to it. This works nicely I am now trying to capture the subject line of each e-mail and do something with it in the VBA code. Try this: Sub IncomingMailHandler(ThisMail as MailItem) MsgBox ThisMail.Subject End Sub To "install" the script, create a new "run script" rule for incoming messages in Tools / Rules and Alerts (if that isn't how you already did it). |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Initiate VBA as a result of inbound e-mail? | Brad | Outlook and VBA | 1 | August 30th 09 03:31 AM |
Unwanted Inbound Mail Receipt | Blake Kaos | Outlook - General Queries | 1 | July 4th 08 08:15 AM |
Capture group addresses from e-mail | Big Willy | Outlook - Using Contacts | 1 | May 11th 07 09:33 PM |
Inbound mail is being copied to "My Documents" ?? | steveb | Outlook - General Queries | 2 | October 11th 06 11:33 PM |
Whats this about the inbound and outbound... | Chris Redfield | Outlook Express | 5 | June 3rd 06 09:58 AM |