PDA

View Full Version : Use string from body of email as .msg file name ?



marcusjb
08-07-2013, 04:04 PM
I'm using the code found in a post on this forum titled ""Save As" Macro in Outlook 2010"to save an email as a .msg on a network drive. I'm using this for one specifically formatted email that has a line that always starts with "Order #:" without the quotes, followed by a 6 digit number.

I'd like to append the 6 digit number to the file name of the .msg that is saved. Is that possible?

One thing is should note is that it appears the Order #: and the 238639 are in separate cells of a table, but they're on the same line and the only thing on that line.