+ Reply to Thread
Results 1 to 2 of 2

VB or Macro to normalise email addresses

Hybrid View

coopersim VB or Macro to normalise... 03-29-2016, 04:07 AM
walruseggman Re: VB or Macro to normalise... 03-29-2016, 10:16 AM
  1. #1
    Registered User
    Join Date
    03-29-2016
    Location
    London
    MS-Off Ver
    2007
    Posts
    1

    VB or Macro to normalise email addresses

    Hi!

    I'm after some help (I've found sort of solutions for both of my problems, but nothing that ticks all boxes!)

    I am dealing with large extracts of email addresses generated by incoming spam / malicious email, the addresses use all available email separators e.g. firstname_surname@ firstname.surname@ etc

    In addition, the extract contains a number of invalid domain names e.g. firstname.surname@wrongdomain.com

    I need to remove all but the '.' and then remove all invalid domain names

    Is there a script that could be run against a .csv?

    Thanks
    Last edited by coopersim; 03-29-2016 at 04:28 AM.

  2. #2
    Forum Expert
    Join Date
    08-28-2014
    Location
    Texas, USA
    MS-Off Ver
    2016
    Posts
    1,796

    Re: VB or Macro to normalise email addresses

    Can you provide a small sample file that mirrors the formatting of your .csv file, please?

    Also

    I need to remove all but the '.' and then remove all invalid domain names
    1) Do you mean you want to delete every email address that's not of the form a.b@c.com?

    2) Where does the code get this list of invalid domain names? If the answer is "from me", can you provide that list, or an example list that you could modify?
    I'm interested in starting a career working with VBA, if anyone knows of any opportunities!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 3
    Last Post: 12-17-2015, 04:23 PM
  2. [SOLVED] Macro to open Outlook and send one email to multiple addresses from excel columns
    By telcocook in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-22-2015, 10:11 AM
  3. Replies: 1
    Last Post: 09-09-2013, 03:46 PM
  4. Macro to send active worksheet to different email addresses
    By Benjamin2008 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-10-2010, 07:53 PM
  5. Omitting email addresses using macro
    By NewExcelUser in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-14-2008, 08:08 PM
  6. Email macro with no email addresses
    By ironguy in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-20-2007, 02:56 PM
  7. macro to automatically send email to two addresses
    By shears in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-07-2007, 05:52 PM

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1