Hi, i am hoping if anyone who know of Outlook macro can help me on this. And for any macro that you can provide, i thank you in advance.
I am looking for a macro that allows me to save multiple selected emails as .msg (at one go), into my C:\ folder. And for each email saved, i need the filename to be different, to pluck the invoice ref. which is found inside the email body. This is how the emails i received looks like. The invoice ref is on the 3rd line. But different company who sent us their emails, sometimes the invoice ref is found on the 4th or 5th line. How to extract this invoice ref as the filename when i save the email :
---------------------------------------------------
To : ABC Co.
Dept : XX team
Ref : 700ERT31
Date : 21-03-19
This is to confirm payment of ........
Please ensure receipt of this.......
----------------------------------------------------
I am looking for a macro that allows me to save multiple selected emails as .msg (at one go), into my C:\ folder. And for each email saved, i need the filename to be different, to pluck the invoice ref. which is found inside the email body. This is how the emails i received looks like. The invoice ref is on the 3rd line. But different company who sent us their emails, sometimes the invoice ref is found on the 4th or 5th line. How to extract this invoice ref as the filename when i save the email :
---------------------------------------------------
To : ABC Co.
Dept : XX team
Ref : 700ERT31
Date : 21-03-19
This is to confirm payment of ........
Please ensure receipt of this.......
----------------------------------------------------