Results 1 to 3 of 3
  1. #1
    3 Star Lounger
    Join Date
    Dec 2000
    Location
    Texas, USA
    Posts
    374
    Thanks
    1
    Thanked 0 Times in 0 Posts

    How to convert tex to clickable email address? (2002)

    I have several columns of imported email address. I believed they are in text format. How to convert them into clickable email address?

  2. #2
    Uranium Lounger
    Join Date
    Jan 2001
    Location
    South Carolina, USA
    Posts
    7,295
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: How to convert tex to clickable email address? (2002)

    Select the cells containing the addresses and run this macro:

    <pre>Public Sub ConvertToEmail()
    Dim oCell As Range
    For Each oCell In Selection
    ActiveSheet.Hyperlinks.Add anchor:=oCell, Address:="mailto:" & oCell.Value
    Next oCell
    End Sub
    </pre>

    Legare Coleman

  3. #3
    Silver Lounger
    Join Date
    Mar 2001
    Location
    Springfield, Ohio, USA
    Posts
    2,136
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: How to convert tex to clickable email address? (2002)

    If A1 has an email address, then the formula <pre>=HYPERLINK("mailto:"&A1,A1)</pre>

    will create a clickable link.
    <font face="Comic Sans MS">Sam Barrett, CACI </font face=comic>
    <small>And the things that you have heard... commit these to faithful men who will be able to teach others also. 2 Timothy 2:2</small>

Posting Permissions

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