i want to know how to schedule automatically a macro for outlook.
I ‘ve created one macro which extract the attached file from an email and store it in a folder.
This macro is working very well when i execute it by clicking macro “execute”.
But i want this macro execute automatically everyday for example at 08:30 before coming to my office.
Thank you
One way would be to use:
A vbs to automate Outlook. I’ve added sample
vbscriptfor saving an attachment from the first item in the Outlook inbox below. The main differences between thevbscriptand the equivalentvbaautomated from an app such as Excel is that in vbscript you can’t declare types explicitly (ie VBA’sDim strTest As StringisDim StrTestinvbscriptUse Windows task scheduler to schedule daily execution.
You will probably need Click Yes to suppress the Outlook security messages.