![]() |
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 |
#1
|
|||
|
|||
![]()
I like Outlook feature of combining tasks and marked as task emails in a
single task view. I can change status of tasks and THESE EMAILS in a table view. If I send an email and I flag it then it means for me that the status of this Task should be set to olTaskWaiting. I do it manualy in a task view but I decided to create a code snippet to change the status automatically. I catch ItemAdd event in SentMail folder: Private Sub myOlItems_ItemAdd(ByVal Item As Object) If Item.FlagStatus = olFlagMarked Then Item.Status = olTaskWaiting ' ERROR! End If End Sub When I send a marked email I get an error message" "Object doesn't support this property or method.". It isn't actually suprising cause MailItem object doesn't support Status property. How could I change Status of my marked as tasks emails using VBA? Outlook 2007, WIN 7 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Event of Changing the Task Status | Mark | Outlook and VBA | 4 | March 13th 09 10:24 AM |
Replace Task Status Enumeration | CC | Add-ins for Outlook | 3 | December 10th 08 04:49 PM |
How do I create a custom status for a Task in Outlook 2003? | Martin | Outlook - Using Forms | 1 | January 29th 07 05:30 AM |
Help with Code - Creating Status Report from Task items | Steve | Outlook and VBA | 1 | August 2nd 06 05:45 AM |
VBA Code to check Task Status | [email protected] | Outlook and VBA | 2 | February 3rd 06 06:16 PM |