+ Reply to Thread
Results 1 to 4 of 4

Convert Email address in cell into a link

  1. #1
    Registered User
    Join Date
    06-28-2014
    Location
    Guildford, England
    MS-Off Ver
    2007 and 365
    Posts
    3

    Convert Email address in cell into a link

    Hi All

    This may be really simple but i cant work it out. I have a simlple macro to add a new customer to a list using a form. One of the columns of the datra beig added is an email address. When entering the data the email address just appears as text, but i want it to be the email address link you could click on and it opens up an outlook email. Just clicking into the cell and tabbing out changes this into the format i want, but wondering how to i get the macro to do this?

    Thanks

  2. #2
    Valued Forum Contributor Hawkeye16's Avatar
    Join Date
    02-27-2013
    Location
    Holland
    MS-Off Ver
    ├•┤ Pew Pew
    Posts
    441

    Re: Convert Email address in cell into a link

    For stuff like that I usually just type

    MailTo:[email protected]

    and that should turn it into a hyperlink.

    edit: Quick search online returned the syntax

    Please Login or Register  to view this content.
    Last edited by Hawkeye16; 07-22-2014 at 08:32 AM.
    Despite the high cost of living, it remains very popular.

    Don't forget to mark threads SOLVED when you get an answer and rep all the geniouses that helped you today!

  3. #3
    Registered User
    Join Date
    06-28-2014
    Location
    Guildford, England
    MS-Off Ver
    2007 and 365
    Posts
    3

    Re: Convert Email address in cell into a link

    Thanks Hawkeye, not sure i understand. Sorry would have made i clearer if i show some of my code. So below is the part of the code that is inserting into my data sheet the data entered on the User Form, the bottom line is the column taking the Email Address the user has entered into the Email Address Text Box on the User form. So is your suggestion something i can put into my code?

    Sheets("New Leads").Select
    Range("A8").Select
    Selection.End(xlDown).Select
    ActiveCell.Offset(1, 0).Select
    Selection.Name = "NextInput"
    ActiveCell.Value = New_Lead_Details_Form.BusNameTextBox.Value
    ActiveCell.Offset(0, 1).Select
    ActiveCell.Value = New_Lead_Details_Form.BusTypeTextBox.Value
    ActiveCell.Offset(0, 1).Select
    ActiveCell.Value = New_Lead_Details_Form.AreaTextBox.Value
    ActiveCell.Offset(0, 1).Select
    ActiveCell.Value = New_Lead_Details_Form.AreaTypeComboBox.Value
    ActiveCell.Offset(0, 1).Select
    ActiveCell.Value = New_Lead_Details_Form.EmailAddTextBox.Value

    Thanks

  4. #4
    Valued Forum Contributor Hawkeye16's Avatar
    Join Date
    02-27-2013
    Location
    Holland
    MS-Off Ver
    ├•┤ Pew Pew
    Posts
    441

    Re: Convert Email address in cell into a link

    Just add the line

    Please Login or Register  to view this content.
    At the end of your code you just provided and that should hopefully work

+ 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. Convert names to email address
    By Meger5 in forum Excel General
    Replies: 4
    Last Post: 03-28-2014, 11:55 AM
  2. Replies: 6
    Last Post: 05-19-2013, 10:53 PM
  3. Replies: 1
    Last Post: 03-08-2012, 01:57 PM
  4. Replies: 5
    Last Post: 03-16-2008, 11:39 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