+ Reply to Thread
Results 1 to 9 of 9

Create Shape/Button Hyperlink to Specific Cell Value In Excel

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    02-06-2013
    Location
    Maryland
    MS-Off Ver
    Excel 2010
    Posts
    1,012

    Create Shape/Button Hyperlink to Specific Cell Value In Excel

    Looking for button hyperlink to go to a specific cell based on largest number in the cell. In the attached sample file, the hyperlink button is to look at the number in column A and when the button is clicked, it should go to the cell with the largest number in column A. For this sample file, the largest number is 8.

    I have created a button in the sample file but is it is not working as intended. Also used the hyperlink function to create a link to the maximum value in column A but the drawback with this is that someone could mistakenly delete/remove the formula in the cell.

    Not looking for a VBA code.

    See attached file.

    Thanks.
    Attached Files Attached Files

  2. #2
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,222

    Re: Create Shape/Button Hyperlink to Specific Cell Value In Excel

    1. Create a range name Mx =A1
    2. Edit/Create Hyperlink to Range name Mx
    3. Edit range name Mx =INDEX($A:$A,MATCH(MAX($A:$A),$A:$A,))
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    02-06-2013
    Location
    Maryland
    MS-Off Ver
    Excel 2010
    Posts
    1,012

    Re: Create Shape/Button Hyperlink to Specific Cell Value In Excel

    Bo_Ry: I cannot recreate the solution with your steps. How do I create hyperlink to Range name Mx? Solution works like a charm but cannot recreate and get it to work in my file. Need step by step description.

    Thanks

  4. #4
    Forum Contributor
    Join Date
    02-06-2013
    Location
    Maryland
    MS-Off Ver
    Excel 2010
    Posts
    1,012

    Re: Create Shape/Button Hyperlink to Specific Cell Value In Excel

    Bo_Ry: Working Bo_Ry - thanks for the solution

  5. #5
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,482

    Re: Create Shape/Button Hyperlink to Specific Cell Value In Excel

    How about using your formula that locates the cell in a named range.

    I had to start by defining the named range as a simple cell reference. It as then available to select when using the edit hyperlink dialog.
    Once the link was present I was able to replace the cell reference with your INDEX formula.

    Obviously the user could still change the formula via Name manager but you would have to lock down the sheet to stop that anyway.
    Attached Files Attached Files
    Cheers
    Andy
    www.andypope.info

  6. #6
    Forum Contributor
    Join Date
    02-06-2013
    Location
    Maryland
    MS-Off Ver
    Excel 2010
    Posts
    1,012

    Re: Create Shape/Button Hyperlink to Specific Cell Value In Excel

    Andy: I cannot recreate the solution with your steps. How do I create hyperlink to Range name? Solution works like a charm but cannot recreate and get it to work in my file. Need step by step description.

    Thanks

  7. #7
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,482

    Re: Create Shape/Button Hyperlink to Specific Cell Value In Excel

    both solution use the same approach.

    Use Formula > Name manager.
    Add a named range BIG_CELL, which references Sheet1!A1

    Select the shape and insert a link. On the hyperlink dialog chose the Place in this workbook. You should see BIG_CELL within the Defined Name section.

    Once you have the shape linked to the static cell go back to Name Manager and change the reference to be the result of you INDEX formula.

  8. #8
    Forum Contributor
    Join Date
    02-06-2013
    Location
    Maryland
    MS-Off Ver
    Excel 2010
    Posts
    1,012

    Re: Create Shape/Button Hyperlink to Specific Cell Value In Excel

    Andy Pope: Not able to see BIG_CELL within the Defined Name section. I am using Excel 2010, which may be why I am not able to see BIG_CELL within the Defined Name section.

    Thanks.

  9. #9
    Forum Contributor
    Join Date
    02-06-2013
    Location
    Maryland
    MS-Off Ver
    Excel 2010
    Posts
    1,012

    Re: Create Shape/Button Hyperlink to Specific Cell Value In Excel

    Andy Pope: Working now! Thanks for the solution

+ 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. Replies: 1
    Last Post: 09-06-2018, 08:01 AM
  2. create a button in excel with macros or VBA code in a specific cell targets.
    By Giri.hb in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 07-18-2014, 10:21 AM
  3. [SOLVED] Excel 2010 Create a macro to check if cell contains hyperlink then apply hyperlink style
    By chasidar in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-12-2013, 04:48 AM
  4. Excel VBA in a userform that create a hyperlink into a specific cell location
    By mikeflatley01 in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 01-19-2013, 08:04 PM
  5. Create macro to generate hyperlink to a specific file from cell
    By Tranen in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-08-2012, 12:23 AM
  6. Screentip / Hyperlink & Button/Shape
    By Tord in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-03-2010, 10:31 AM
  7. Hyperlink button to a specific cell in excel
    By JayWes in forum Excel General
    Replies: 1
    Last Post: 07-21-2005, 07:05 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