I save bounced messages in an Outlook folder and export these as CSV/Excel sheet. I then need to split out the email addresses so that they can be marked dud in my mailing lists.
The cells with the email addresses are laid out thus (cut and pasted from the cell):
"Delivery has failed to these recipients or distribution lists:
abc@xyz.com
The recipient's e-mail address was not found in the recipient's e-mail system. Microsoft Exchange will not try to redeliver this message for you. Please check the e-mai"
I've tried Text to Columns with space delimiters, but - maybe because of the hard-returns - the data disappears. It splits out "delivery" and "has" and "failed" etc. until the ":" at which point the column cells to the right are blank.
I've tried to replace "Delivery has failed...lists:" with "|" and then convert to columns (the | works, but the second column when converting is empty).
I've turned off text wrapping, I've forayed into the world of VB suggestions on similar questions on the board, but have come a cropper...
I don't know how to find/replace the hard-returns or line-feeds in the body.
All I need is to extract the text surrounding the @ and I'm going batty :D
The cells with the email addresses are laid out thus (cut and pasted from the cell):
"Delivery has failed to these recipients or distribution lists:
abc@xyz.com
The recipient's e-mail address was not found in the recipient's e-mail system. Microsoft Exchange will not try to redeliver this message for you. Please check the e-mai"
I've tried Text to Columns with space delimiters, but - maybe because of the hard-returns - the data disappears. It splits out "delivery" and "has" and "failed" etc. until the ":" at which point the column cells to the right are blank.
I've tried to replace "Delivery has failed...lists:" with "|" and then convert to columns (the | works, but the second column when converting is empty).
I've turned off text wrapping, I've forayed into the world of VB suggestions on similar questions on the board, but have come a cropper...
I don't know how to find/replace the hard-returns or line-feeds in the body.
All I need is to extract the text surrounding the @ and I'm going batty :D