Results 1 to 2 of 2
  1. #1
    RBCC is offline Novice
    Windows 10 Access 2016
    Join Date
    Dec 2015
    Posts
    1

    Question Email addresses

    How do I put a "@" in the Email address such as john@golden-computers.net. But as in newsgroups@golden-computers.net, it takes the length of the john or newsgroups and adds the "@" automatically. How is this done? Thank you for your help, John

  2. #2
    CJ_London is offline VIP
    Windows 8 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,932
    depends on what data you have but you would use & to concatenate strings together and also the left, right, mid and instr functions

    So assuming you have

    myname = John

    and

    fullemail = newsgroups@golden-computers.net

    you would use

    newemail=myname & mid(fullemail,instr(fullemail,"@"))

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Send email using CDO, get email addresses from table
    By marvinac1 in forum Programming
    Replies: 3
    Last Post: 12-22-2014, 12:54 PM
  2. Replies: 3
    Last Post: 08-16-2013, 04:15 PM
  3. Finding email addresses using VBA
    By P.Malius in forum Programming
    Replies: 1
    Last Post: 07-04-2012, 07:17 AM
  4. send email to email addresses in database?
    By cnstarz in forum Access
    Replies: 5
    Last Post: 03-02-2011, 09:46 PM
  5. Combining two Email Addresses
    By Frodo in forum Access
    Replies: 0
    Last Post: 09-16-2007, 07:07 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
  •  
Other Forums: Microsoft Office Forums