+ Reply to Thread
Results 1 to 3 of 3

Thread: Showing/Hiding a mailto hyperlink based on a cell value

  1. #1
    Valued Forum Contributor
    Join Date
    06-03-2008
    MS-Off Ver
    Excel 2007 (also have access to Excel 2000/2003)
    Posts
    367

    Showing/Hiding a mailto hyperlink based on a cell value

    Hi,

    Hope you can help.

    I need to be able to show a mailto link if the cell value in A1 is specific text for example 'Test Positive'. WIthin the hyperlink contents of other cells need to be shown. The later part I have managed the code is below:

    =HYPERLINK("mailto:joe@bloggs.com?subject="&SUBSTITUTE("Completed Testing Item: "&$J6," ","%20")&"&body=Testing Item Ref Number: "&$H6,"Send Email to Testing")
    But I only want this mailto shown if the value in cell A1 is 'Test positive' else hide it. Is this possible?

    THANK YOU

  2. #2
    Forum Guru martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    10,806
    =IF(A1="hide link",HYPERLINK("http://www.excelforum.com/showthread.php?t=648753"),"") works for me

  3. #3
    Valued Forum Contributor
    Join Date
    06-03-2008
    MS-Off Ver
    Excel 2007 (also have access to Excel 2000/2003)
    Posts
    367
    Thank you that worked brilliantly

+ 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.2.0