?
Solved

Outlook VBA, method fire for email change

Posted on 2009-02-23
5
Medium Priority
?
265 Views
Last Modified: 2012-05-06
Good morning,
Ive written quite a few VBA scripts in the past which deals with email messages when they are recived, but Id like to make one so when I change the status of the follow up to an email, I can move the email to the archive folder.

Anyone have any ideas what method fires when an email changes its follow up status?
0
Comment
Question by:tonelm54
  • 3
  • 2
5 Comments
 
LVL 76

Expert Comment

by:David Lee
ID: 23709743
Hi, tonelm54.

"Anyone have any ideas what method fires when an email changes its follow up status?"
Outlook does not have a separate event for a change to each field.  Instead it has a single event that fires when an item changes.  I need to know which version of Outlook you're using since the events are different between versions.
0
 

Author Comment

by:tonelm54
ID: 23709982
Sorry, Outlook 2007. Is there any information saying what events fire at what times, as I use Visual Basics IDE a lot you have 'page load', 'page activiave', 'button_mouseover' etc, but cannot find anything like it in vba :-(
0
 
LVL 76

Expert Comment

by:David Lee
ID: 23712007
Outlook's online VBA help has a complete list of all the available events.  For Outlook 2007 I recommend the PropertyChange event.  It receives the name of the property that was changed which will allow you to act if the property changes was the follow up status.
0
 

Author Comment

by:tonelm54
ID: 23725012
Outlooks online VBA???? Do you know the URL?
0
 
LVL 76

Accepted Solution

by:
David Lee earned 2000 total points
ID: 23725421
http://msdn.microsoft.com/en-us/library/bb219953.aspx

Expand "Events" in the left-hand pane.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

There can be many situations demanding the conversion of Outlook OST files to PST format and as such, there is no shortage of automated tools to perform this conversion. However, what makes Stellar OST to PST converter stand above the rest? Let us e…
MS Outlook undoubtedly is the most widely used email client.Its user-friendliness, cost effectiveness, and availability with Microsoft Office Suite make it the most popular email application.  Its compatibility with Microsoft applications like Exch…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
Suggested Courses

850 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