Need help to trigger outlook macro automatically when new email comes in Specific folder
Hi Experts ,
I have a Independent folder in Outlook named "Test" .
I have macro whose work is to get the attachment from "Test" folder emails and save at"EmailAttachments" folder in "MyDocuments"
So the program is working when I manually run the macro , So I need your help to set some program which can run this macro automatically .
The program should run when new email comes in "Test" folder only otherwise if it will check inbox and all outlook then it will be performance issue.
I am using below code in "ThisOutlookSession" but it is checking all incoming emails in outlook , just need to check "Test" folder only.
Private Sub Application_NewMail() Call SaveAttachmentsEnd Sub
Microsoft Outlook is a personal information manager from Microsoft, available as a part of the Microsoft Office suite. Although often used mainly as an email application, it also includes a calendar, task manager, contact manager, note-taker, journal, and web browser.
You can utilize the same rule to run a script.
See this link;
https://www.slipstick.com/outlook/rules/outlook-2016-run-a-script-rules/