Looping a pair of email...

User avatar
sal21
PlatinumLounger
Posts: 4353
Joined: 26 Apr 2010, 17:36

Looping a pair of email...

Post by sal21 »

In the subfolder SERVICE of Outlook i have many email with a zip attached.
I have all emails with the same sender name.
I recive at every day a pair of email with the same date and hour sender, one of this email have a object:TEST other TEST1

I need to loop all emails in subfolder of outlook only if a pair of email respect the date condition and object condition.
If the condition is true call myMacroCode, save the related unziped attached file in :\mydir\

i hope understand me

Note:
the attaced zipped file have differrent name from TEST and TEST1

User avatar
HansV
Administrator
Posts: 78446
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Looping a pair of email...

Post by HansV »

Creating VBA for this would be complicated. If you receive one pair of e-mails of this type per day, I would process them manually.
Best wishes,
Hans

User avatar
sal21
PlatinumLounger
Posts: 4353
Joined: 26 Apr 2010, 17:36

Re: Looping a pair of email...

Post by sal21 »

HansV wrote:Creating VBA for this would be complicated. If you receive one pair of e-mails of this type per day, I would process them manually.
ok...
But only to check a pair of email, is complicated? :grin: withouth other operation?

User avatar
HansV
Administrator
Posts: 78446
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Looping a pair of email...

Post by HansV »

Yes.
Best wishes,
Hans