Page 5 of 5 FirstFirst ... 345
Results 41 to 44 of 44

Thread: VBA To Extract Email Address From Text

  1. #41
    Forum Guru Rick Rothstein's Avatar
    Join Date
    Feb 2012
    Posts
    659
    Rep Power
    13
    Quote Originally Posted by dunndealpr View Post
    Hey Rick, this workaround for the cell formats has not been working for me. In the actual field I see the email address, but in the formula field I'll see something to the effect of =extractemail(F2035), and selecting the General cell format both before and after applying the formula does not change this.
    The Formula Bar (think about its name) shows the formula in the cell, the cell shows what the formula evaluates to.... this is standand Excel functionality. The only way the Formula Bar will show what the cell displays is if the cell contains a non-formula value (that is, a constant value that was typed in or copy/pasted in). If you want the Formula Bar to show the same thing as the cell, select all the cells you want this to happen for, then press CTRL+C to copy the cells into the Clipboard, then with the same cells selected, right-click the selection and choose "Paste Special" from the popup menu that appears and select the Values option button... after you do that and then click OK, all the formulas will be converted to the constant values they evaluated to. NOTE though, you will have then lost the formulas.

  2. #42
    Junior Member
    Join Date
    Jun 2013
    Posts
    22
    Rep Power
    0
    Thanks Rick, that worked. The issue was that when I would ctrl-x a row then ctrl-v it somewhere else, the email address your formula found for me would turn into #NAME?, along with every other email address in that column.

  3. #43
    Junior Member
    Join Date
    Aug 2014
    Posts
    4
    Rep Power
    0
    Thanks for sharing, i have the same problem so i will try with these steps. However i will be looking for other theme to find more information.

  4. #44
    Junior Member
    Join Date
    Jun 2019
    Posts
    1
    Rep Power
    0

    Search and replace E-MAil adresses even if they are invalid

    Hi,

    im doing an intern ship here and found after a few hours your piece of code which works quite good. But its is so complex that i have no chance to change it to my needs.

    I have data which i have to prepare. In this data there are a lot of customer infos like phone number, date, email, adress, names i have to get rid of.

    Is there a possibility to change the code a bit. I just have to find aout if there is an EMail and replace it with "E-MAil" instead of taking it out. But i need no real verification. Sometimes the E-Mail adresses are invalid.

    if found following scenarios which have to be found and replaced:

    1. xxx@xxx.xx
    2. @xxxx.xx
    3. xxxxx@
    4. @

    Thx a lot in advance!
    Julia

Similar Threads

  1. VBA Code to email using Globals Address Book
    By cdurfey in forum Excel Help
    Replies: 5
    Last Post: 05-28-2013, 10:25 PM
  2. Replies: 6
    Last Post: 05-25-2013, 07:36 PM
  3. Replies: 2
    Last Post: 05-23-2013, 08:08 AM
  4. Replies: 2
    Last Post: 03-21-2013, 08:51 PM
  5. Extract Email Text to Excel
    By bcloring in forum Excel Help
    Replies: 5
    Last Post: 12-14-2012, 04:10 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •