Outlook VBA Script that gets info on currently selected email using Property Tag Syntax
Outlook VBA Script that gets info on currently selected email using Property Tag Syntax Option Explicit ' VBA Script that gets info on the currently selected email using 'Property Tag Syntax' ' (see other scripts a http://www.GregThatcher.com for other ways to get email properties) ' Property Tag Syntax is used for Outlook Properties (defined by Outlook Object Model) ' as opposed to Named Mapi Properties (defined by Outlook, but only exist if Outlook has added that property to the item of interest) ' or UserProperties (visible to users, and can be added dynamically to an item) or Named Properties (not visible users, can be added dynamically) ' Use Tools->Macro->Security to allow Macros to run, then restart Outlook ' Run Outlook, Press Alt+F11 to open VBA ' Programming by Greg Thatcher, http://www.GregThatcher.com ' THIS SCRIPT WILL ONLY RUN ON OUTLOOK 2007 OR LATER (it won't work on Outlook 2003) ' Types of Properties Const