I am looking for some code to pull values from the body of an outlook message. I will set up the whole situation I need below:
- An email is sent with specific subject and certain values in body. -Subject could be "Test" -In body of email it would be: Name: (name here changes) Number: (number here changes)
I can set up the Excel file I need to open after this email is received, but what I need is for that Excel file that opens, to look back at that email message and pull the name and number (that can change) into cells A1 and B1.
Keep in mind that there will be multiple emails coming through with this same format, so it should only look in message that was just sent a minute or two ago.
Is this possible? Any help would be greatly appreciated. Thanks.