Executing a VBA macro once I receive a trigger mail in outlook

vba , excel , outlook Embalenhle, South Africa
  • 11 years ago

    Hi

    I am relatively new to VBA, with my skills limited to Excel. The manual process for the task I automate is as follows:

    I receive two emails every evening, at random times and in random order, each with an excel workbook as an attachment. Those files are saved in seperate folders on a network drive. Once these files are saved I open another spreadsheet and run a macro.

    I am sure I can find material out there to automate the task of saving the files as they arrive into my inbox. The tricky part for me is to actually trigger the execution of an excel macro from within outlook. Can anybody point me in the right direction?

    Thanks in advance

Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Beware of bugs in the above code; I have only proved it correct, not tried it.” - Donald Knuth