Code to extract E-Mail addresses

Dazzawm

Well-known Member
Joined
Jan 24, 2011
Messages
3,748
Office Version
  1. 365
Platform
  1. Windows
I have thousands of rows with email addresses in column A. Problem is they are amongst other text at the beginning, middle or end. Can a code be made please to extract the email addresses in to column B next to it? I haven't posted an example as for security and its pretty self explanatory.


Thanks if you can help.
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
I think to get an answer you need to provide some examples of the data structure, you can change anything that is sensitive.
 
Upvote 0
I really hope someone can come up with a solution as this is so important to me.
 
Upvote 0
Dazzawm,

It is always easier to help and test possible solutions if we could work with your actual file.

Perhaps you could upload a copy of your file to a free site such as www.box.com or www.dropbox.com.

Once you do that, mark it for 'Sharing' and you will be given a link to the file that you can post here.

Include a detailed explanation of what you would like to do referring to specific cells and worksheets.

If the workbook contains confidential information, you could replace it with generic data.
 
Upvote 0
Dazzawm,

It is always easier to help and test possible solutions if we could work with your actual file.

Perhaps you could upload a copy of your file to a free site such as www.box.com or www.dropbox.com.

Once you do that, mark it for 'Sharing' and you will be given a link to the file that you can post here.

Include a detailed explanation of what you would like to do referring to specific cells and worksheets.

If the workbook contains confidential information, you could replace it with generic data.

I will do that but I really didn't think it was necessary for this one. There are emails in column A amongst other words and they need copying or taking out to column B
 
Upvote 0
The problem, in my experience, is that not posting a sample will result in less help & hundreds of questions!
 
Upvote 0
Hope this helps. Excel Jeanie and HTML maker won't seem to install. I have put in bold what would need copying in to B

AB
Darrens twitter is @Example and his email is example@gmail.comexample@gmail.com
Can you tell me whos email example@hotmail.co.uk is pleaseexample@hotmail.co.uk

<tbody>
</tbody>
 
Last edited:
Upvote 0
Sorry it is vague like i said i haven't been able to install excel jeanie or html maker to make it easier.
 
Upvote 0
It is always easier to help and test possible solutions if we could work with your actual file.

Perhaps you could upload a copy of your file to a free site such
Kindly don't promote the use of off-site file hosting. Such links are prone to failure in the longer term. Instead, users should employ the posting aids provided by this site, which is usually quite sufficient. See: http://www.mrexcel.com/forum/board-announcements/127080-guidelines-forum-use.html
Off-site file hosting should be countenanced as a last resort only, not as the first resort.
 
Upvote 0

Forum statistics

Threads
1,215,016
Messages
6,122,700
Members
449,092
Latest member
snoom82

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top