A
AzDayton
(Outlook 2003)
Hi. I'm trying to filter incoming mails which are notifications only, and
are completed before I ever see them. I'd like to move them to a folder,
flag them, then have them marked completed, all without my having to see it
happen.
I can do most of this using the Rules and Alerts. However, there is no
"Mark Completed" option. So I tried the "Run a Script" option.
Here's the "script" that I THOUGHT should work, but doesn't:
=======================================
Sub FlagComplete(Item As Outlook.MailItem)
Item.FlagStatus = olFlagComplete
Item.Save
End Sub
=======================================
Any ideas on what I'm doing wrong? I'm pretty new to VBA, but it seemed
pretty straightforward. The script DOES run, it just doesn't seem to do what
I want it to. I've got it attached to the ThisOutlookSession object.
Thanks in advance!
- Dayton - Tue. 08/12/2008 @ 13:06:38
Hi. I'm trying to filter incoming mails which are notifications only, and
are completed before I ever see them. I'd like to move them to a folder,
flag them, then have them marked completed, all without my having to see it
happen.
I can do most of this using the Rules and Alerts. However, there is no
"Mark Completed" option. So I tried the "Run a Script" option.
Here's the "script" that I THOUGHT should work, but doesn't:
=======================================
Sub FlagComplete(Item As Outlook.MailItem)
Item.FlagStatus = olFlagComplete
Item.Save
End Sub
=======================================
Any ideas on what I'm doing wrong? I'm pretty new to VBA, but it seemed
pretty straightforward. The script DOES run, it just doesn't seem to do what
I want it to. I've got it attached to the ThisOutlookSession object.
Thanks in advance!
- Dayton - Tue. 08/12/2008 @ 13:06:38