Hello,
This might be a dumb question... I've gotten part of the way there. I'd like a formula or macro to convert email address(es) copied from Outlook to a 'display name'.
Column A = Email(s) pasted from Outlook
Column B = Sanitized names
Input Examples:
Last, First <username@domain.com>
Last, First <username@domain.com>; Last, First Middle <username@domain.com>
Output Examples:
First Last
First Last, First Last
I found a way to strip out the email SUBSTITUTE(cell,MID(LEFT(cell,FIND(">",cell)),FIND("<",cell),LEN(cell)),"") and how to reverse the names MID(cell&" "&cell,FIND(", ",cell)+2,LEN(cell)-1) but I'm not really sure what to do from here.
I want users to be able to paste email addresses from Outlook into column A and have column B show just the first and last names, comma delimited. I'm using a macro to populate an email template that will utilize these email addresses in the TO field, but I want the spreadsheet to just show the names.
Thank you!
This might be a dumb question... I've gotten part of the way there. I'd like a formula or macro to convert email address(es) copied from Outlook to a 'display name'.
Column A = Email(s) pasted from Outlook
Column B = Sanitized names
Input Examples:
Last, First <username@domain.com>
Last, First <username@domain.com>; Last, First Middle <username@domain.com>
Output Examples:
First Last
First Last, First Last
I found a way to strip out the email SUBSTITUTE(cell,MID(LEFT(cell,FIND(">",cell)),FIND("<",cell),LEN(cell)),"") and how to reverse the names MID(cell&" "&cell,FIND(", ",cell)+2,LEN(cell)-1) but I'm not really sure what to do from here.
I want users to be able to paste email addresses from Outlook into column A and have column B show just the first and last names, comma delimited. I'm using a macro to populate an email template that will utilize these email addresses in the TO field, but I want the spreadsheet to just show the names.
Thank you!