Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.


Eliminate a portion of the text in an Excel cell

Eliminate a portion of the text in an Excel cell

I downloaded an email list into Excel. The email addresses are numbered but the numbering and the email address are all in 1 cell....A1, A2, etc. There are over 2,000 email addresses and I am looking for VBA script that will take out the numbering in each cell.
Info in each cell is as follows (2 cells shown):
105. found in cell a105
106. found in cell a106

I want to eliminate the 1st 5 characters of each cell to just leave the email address. Is this possible.


RE: Eliminate a portion of the text in an Excel cell


In Excel,
1) SELECT column A
2) Data>Text to columns
4) select the SPACE delimiter, NEXT
5) do not import first column with numbers), FINISH


glassesJust traded in my OLD subtlety...
for a NUance!tongue

RE: Eliminate a portion of the text in an Excel cell

Put the following formula in cell B1.
=MID(A1,FIND(" ",A1)+1,100)

This will extract the email address from cell A1 to cell B1 leaving behind the serial number.
You can copy the formula to following cells in the column. VBA is not needed for such a trivial task.

For further questions related to Excel, refer to forum68: Microsoft: Office.

RE: Eliminate a portion of the text in an Excel cell

Wow!! This is too simple. Thanks to both of you for your suggestions. They both work.


Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close