Outlook Macro : Move to Specified Folder & Mark As Read
As a victim of Microsoft Outlook, I hear alot about using it in the GTD philosophy. One of my favorite websites, LifeHacker, extolls it’s virtues (GTD, not Outlook) on a daily basis. Yesterday they posted an article about how to modify your toolbars to give you shortcut keys for "Copy to folder" and "Move to folder" actions. I don’t know why I never thought of that before.
I quickly set that up, and then realized I could add an additional shortcut for "Mark as Read" (our IT staff has disabled the ability to Mark as Read when Previews). With those in place, I decided I might actually try another GTD point: an empty inbox. The key to an empty inbox is to have a place to dump mail you’ve read and responded to, but don’t really need anymore except for reference. They call it an "Archived" or "Processed" folder. While I could do this with the "Move to" shortcut, I had to select the folder everytime. With a bit of googling, I was able to setup an Outlook VB Macro (Under the Tools Menu) to Mark the message as read and move it to my personal PST file, in a folder called "Ancient Archive".
For everyone else’s benefit, the VB code is as follows:
| Sub MoveToArchive() On Error Resume Next Dim objFolder As Outlook.MAPIFolder Dim objNS As Outlook.NameSpace, objItem As Outlook.MailItem Set objNS = Application.GetNamespace("MAPI") |
[tag:outlook][tag:gtd][tag:lifehacker][tag:macro]


Just wanted to make a nice public announcement that now Laura is an RHIT,