+ Reply to Thread
Results 1 to 5 of 5

Generating Email Addresses

  1. #1
    Registered User
    Join Date
    07-19-2011
    Location
    Seattle, WA
    MS-Off Ver
    Excel 2010
    Posts
    2

    Generating Email Addresses

    OK so this is my first post so I hope I cover everything that may be pertinent.

    I am wanting to create an email list of sorts. When marketing to companies I usually have an email address of a handful of people in the organization but a list a mile long of contact names at the company. Since I have a few addresses I know the standard format i.e. John Smith is jsmith@randomcompany.com or johns@randomcompany.com. Of course I can do this by hand but it becomes tedious. Is there a way to create a spreadsheet in which the first name would be in one column and last name in another with a third column with the proper email format and have excel pick up the format.

    I am thinking it would be something similar to when you have a known pattern i.e. 1, 2, 3, etc that you select then grab the corner to drag down to continue the pattern.

    I hope this makes sense, if not please let me know what additional information is needed.

    Thanks,
    JP

  2. #2
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Generating Email Addresses

    Hi

    Welcome to the Forum!

    Take a look at this link... http://www.excelforum.com/excel-prog...el-2007-a.html

    It utilizes the approach you described.
    create a spreadsheet in which the first name would be in one column and last name in another with a third column with the proper email format and have excel pick up the format
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

  3. #3
    Forum Expert Mordred's Avatar
    Join Date
    07-06-2010
    Location
    Winnipeg, Canada
    MS-Off Ver
    2007, 2010
    Posts
    2,787

    Re: Generating Email Addresses

    Hi jpodrebarac and welcome to the forum. First I'll display the code
    Please Login or Register  to view this content.
    and now I'll explain.
    Starting in A1, I used an initial like "j"
    B1 value = "smith"
    C1 value = @address.com
    B2 value = "r"
    C2 value = "smith"
    and so on! C1 value is the extension and is always referred to within the code I gave you. Is this close?
    If you're happy with someone's help, click that little star at the bottom left of their post to give them Reps.

    ---Keep on Coding in the Free World---

  4. #4
    Forum Expert Domski's Avatar
    Join Date
    12-14-2009
    Location
    A galaxy far, far away
    MS-Off Ver
    Darth Office 2010
    Posts
    3,950

    Re: Generating Email Addresses

    Hi,

    Which format do you want for the email addresses?
    Is there a possibility of duplicate names and if so how should that be dealt with?

    Dom
    "May the fleas of a thousand camels infest the crotch of the person who screws up your day and may their arms be too short to scratch..."

    Use code tags when posting your VBA code: [code] Your code here [/code]

    Remember, saying thanks only takes a second or two. Click the little star to give some Rep if you think an answer deserves it.

  5. #5
    Registered User
    Join Date
    07-19-2011
    Location
    Seattle, WA
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Generating Email Addresses

    Mordred, I think this is close to what I am looking to do. I need to get back up to speed with running code in Excel but I think this will work.

    Domski, the format will be dependent on the base email pattern. Sometimes I may be using first initial and last name, other times it may be first name and last initial or any other various pattern. If there are duplicates i.e. John Smith and Jenny Smith I would have to deal with that on a one off basis if the typical format is first initial and last name. This said I do not think this issue will create problems all that often, I can just do a quick remove duplicates

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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