Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 07-13-2014, 09:54 PM
macropod's Avatar
macropod macropod is offline Select Every Email in Word or Excel?!? Windows 7 32bit Select Every Email in Word or Excel?!? Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,514
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Quote:
Originally Posted by arielrivera67 View Post
So I have a contacts spread sheet with about 3000 emails. The problem is that the column with the emails also has company names & websites in the same cells. Is there a way to select just the emails in the document so I can copy them over to a dedicated column?
Quite easily done in Word. If you have a document with email addresses in:

• Word's hyperlink format (i.e. clickable hyperlinks, not plain text), you can use a wildcard Find/Replace, with:
Find = <[^1-^31\!-\?A-ÿ]{1,}[!\@][^1-\?A-ÿ]{1,}
Replace = nothing

• plain text, you can use a wildcard Find/Replace, with:
Find = <[0-9A-ÿ.\-]{1,}\@[0-9A-ÿ\-.]{1,}([^13 -/\:-\@\\-`\{-¿])
Replace = \1

Afterwards, you should have a file with only email addresses in it (and maybe the odd @ and the following word if you have any loose @ characters in the data).

So, if you copy the cells to Word and use whichever Find/Replace approach applies to your data, you should then be able to copy the cleaned data back to Excel.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
 

Tags
columns, emails, select

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel Macro to "Select All" in Pivot Table Field galkej Excel 0 02-03-2014 11:59 AM
Select Every Email in Word or Excel?!? Select a area in a Word Document Peter Stahl Word VBA 2 08-09-2013 03:18 AM
Unable to select text in email messages received or previously sent musawwir Outlook 0 07-15-2013 10:53 AM
Select Every Email in Word or Excel?!? Word XP - Can't select line RogerM Word 2 03-11-2011 01:26 PM
cant send email directly from WORD (or excel) etodem Word 0 04-03-2009 04:59 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:33 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft