Email Monitoring Macro that Triggers another Macro to run...

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
rjw524
Pro Scripter
Posts: 104
Joined: Wed May 09, 2012 9:45 pm
Location: Michigan

Email Monitoring Macro that Triggers another Macro to run...

Post by rjw524 » Thu May 28, 2015 6:40 pm

Hi All,

I've been trying to write a macro that does the following:

1) Triggers a 2nd Macro when a specific email address, WITH A SPECIFIC SUBJECT LINE, gets a new message in its Inbox.

I seen some examples on the forums, for this, but for some reason I've not been getting the "RetrievePOP3" command to work.

Now, I know that constantly monitoring the email box is a resource killer,

So, it only has to check every 5 minutes or so.

HOWEVER: I need the macro to do two things at this point:

1) I don't want this Email Monitoring Macro to "trigger" the 2nd macro UNTIL OR UNLESS the 2nd macro is NOT running.

Is this possible?

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Re: Email Monitoring Macro that Triggers another Macro to ru

Post by Marcus Tettmar » Fri May 29, 2015 11:07 am

I don't use Outlook so I can't provide specifics but I understand you can set up a rule/filter which looks at the subject. Have it run a VBA routine which in turn runs a Macro Scheduler macro.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts