My blog has an article that explains how to wire up Outlook so that code runs
when you want it to whenever a new e-mail is created (or an existing one is
opened):
Eric Legault My Eggo : Getting a Handle on Your E-mails with VBA:
http://blogs.officezealot.com/legault/pages/20086.aspx
Most default e-mail properties are probably sufficient for uniquely
identifying an e-mail: sender and receipient names, date received, subject,
etc. Every Outlook item also has a unique EntryID property, but that is only
viewable with code, not in a view.
Any VBA code written for Outlook 2007 will work on previous versions of
Outlook without modification. Just watch out for any Folder object
declarations - this is MAPIFolder in previous versions.
--
Eric Legault - Outlook MVP, MCDBA, MCTS (SharePoint programming, etc.)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog:
http://blogs.officezealot.com/legault/
"Erik" wrote:
I would like to make a script for Outlook 2007and don't know where to begin
(I'm not a VB programmer). What I want seems simple enough to me to
accomplish. Everytime I click NEW email, I'd like this script to auto insert
the following into the subject line of the email
YY_MM_DD_St_this following text I would enter in by hand
Year, month, day, and the St are my initials. All my company emails are
archived, and I need to find a way to particularily identify every email I
send. This was the best idea I could come up.
Is this possible at all? Also, some workstations here are still running
Outlook 2003. Can I install a similar script on these older workstations?
Would the script be the same or must it be different?
Thank you for the help.