Hi people,
I hope someone can help me on this request.
On a daily basis I receive many requests through Outlook asking for invoices. I need to ask someone else to create them respectively. The titles of those emails that I receive from customers have as subject these words "Natures sent a new Purchase Order ADG0246519". Words that never change are "sent a new Purchase Order".
The Purchase order always change and may have only numbers or letter and numbers.
In the attached file I have a basic code that helps me to ask my third party company to create the invoices however this macro creates a new email without considering the original request from my customer. What I want to do is solicit the creation of the invoice but I want the macro to look up in my Outlook and find the email that has the PO# in the subject. The PO# would be always in "A9" from sheet2 (in the attached workbook).
If PO# is not find, exit the sub.
Bookmarks