J
JT
I have a macro that processes attachments to e-mails. The
macro copies the attachment to a new folder where it
compiles the data in a new workbook. The e-mail subject
line contains the office code for the data in the e-mail.
The Outlook properties also contain the office code for
the person sending the e-mail.
I would like the macro to compare both office codes and
make sure they are the same before processing the
attachment.
Is there a way to review the Outlook properties (to get
the office code) without actually opening the e-mail?
If not, I could use some help programming opening the e-
mail and reviewing the properties.
Thanks for the help.....
macro copies the attachment to a new folder where it
compiles the data in a new workbook. The e-mail subject
line contains the office code for the data in the e-mail.
The Outlook properties also contain the office code for
the person sending the e-mail.
I would like the macro to compare both office codes and
make sure they are the same before processing the
attachment.
Is there a way to review the Outlook properties (to get
the office code) without actually opening the e-mail?
If not, I could use some help programming opening the e-
mail and reviewing the properties.
Thanks for the help.....