+ Reply to Thread
Results 1 to 6 of 6

Macro to find sign "@" and change format of email address

  1. #1
    Registered User
    Join Date
    11-11-2012
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    16

    Macro to find sign "@" and change format of email address

    Hope someone could give me a hand with the following:

    I am looking for macro that could recognise email addresses and change their format to red without changing the format of the whole cell. The cells on the worksheet are full of text and within the text there are the emails.

    The emails always are preceded and followed by coma or space.

    Any directions on here will be greatly appreciated

    Cheers

  2. #2
    Registered User
    Join Date
    06-06-2012
    Location
    Mexico
    MS-Off Ver
    Excel 2010
    Posts
    99

    Re: Macro to find sign "@" and change format of email address

    Dear Sr,

    Good afternoon.. pls attach the workbook, maybe I can help a little

  3. #3
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,518

    Re: Macro to find sign "@" and change format of email address

    Select the cell(s) and run the code.
    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    11-11-2012
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    16

    Re: Macro to find sign "@" and change format of email address

    Book1.xlsm

    Thanks for the code it works perfectly!

    How would I do to make the email adresses change to red instead of font.bold?

    Sorry for answer earlier feroguz, I've attached the excel in case you want to see the reason of this request

    Regards

  5. #5
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,518

    Re: Macro to find sign "@" and change format of email address

    You have Error value in the cell...
    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    11-11-2012
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    16

    Re: Macro to find sign "@" and change format of email address

    Thank you that is great!

    The error is because there was a index that links to the worksheet.

    Have a good day!

+ 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