+ Reply to Thread
Results 1 to 5 of 5

Hyperlink to hidden sheet using a cell with the =Hyperlink formula

  1. #1
    Registered User
    Join Date
    05-25-2015
    Location
    Warrington, UK
    MS-Off Ver
    2013
    Posts
    5

    Question Hyperlink to hidden sheet using a cell with the =Hyperlink formula

    Hi,

    Hoping that someone can help with a hyperlink / VBA problem that's driving me crazy!?

    Basically, I have a workbook with a front sheet which contains a column of hyperlinks to other sheets within the same workbook. Each of these hyperlinks is built using the =HYPERLINK formula rather than a right-click>Link type hyperlink. I had to build the hyperlinks using the formula method as various preceding columns are concatenated in order to build the name of the sheet which requires linking to.

    So, with all sheets in the workbook unhidden, the formulated hyperlinks work perfectly. I can use them to jump to the relevant sheets with no problems. However, to tidy up the workbook, I want to be able to hide all of the individual sheets except for the front sheet - and then when I click on a hyperlink, only the relevant sheet would be unhidden for editing & then re-hidden once a 'Back' button is pressed. I just can't get the hyperlinks to work once the individual sheets are hidden - clicking the links does nothing, and I can't figure out why or how to fix it?

    I've done something similar in the past using the sheet code below - but this one only seems to work using 'normal' hyperlinks. I'm guessing it's not working for me now because i'm using the =HYPERLINK formula? If so, anyone any ideas how I can get around this and achieve what I'm trying to do? Apologies if this has been answered before, I had a search but couldn't find anything.

    Cheers,
    Paul

    Please Login or Register  to view this content.

  2. #2
    Valued Forum Contributor PeteABC123's Avatar
    Join Date
    09-21-2012
    Location
    Chicago, IL
    MS-Off Ver
    MS Office 365 ver 2202
    Posts
    1,104

    Re: Hyperlink to hidden sheet using a cell with the =Hyperlink formula

    This dialogue might help you. https://www.excelforum.com/excel-gen...orksheets.html

    Pete

  3. #3
    Registered User
    Join Date
    05-25-2015
    Location
    Warrington, UK
    MS-Off Ver
    2013
    Posts
    5

    Re: Hyperlink to hidden sheet using a cell with the =Hyperlink formula

    Thanks Pete. I recognise that thread, I think I may have already come across it whilst trying to find an answer, but had no joy.

    The codes on that page seem to all involve the Private Sub Worksheet_FollowHyperlink(ByVal Target As Hyperlink) command line, but I think my issue is because I'm using the =Hyperlink formula, rather than inserting links, I don't think VBA is treating my hyperlinks as hyperlinks and so not following them - if that makes sense?! I'm a bit of a VBA novice, so not 100% sure if i'm talking nonsense here or not!

  4. #4
    Registered User
    Join Date
    05-25-2015
    Location
    Warrington, UK
    MS-Off Ver
    2013
    Posts
    5

    Re: Hyperlink to hidden sheet using a cell with the =Hyperlink formula

    I'm still no closer to cracking this one...

  5. #5
    Registered User
    Join Date
    09-16-2018
    Location
    Washington State, USA
    MS-Off Ver
    2016
    Posts
    43

    Re: Hyperlink to hidden sheet using a cell with the =Hyperlink formula

    Any luck with this? I'm working on a project just like this, wondering if you came up with a 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. [SOLVED] With Hyperlink formula & vba, I want to copy text of hyperlink to the cell it's linked to
    By Freakytone in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-13-2017, 05:46 PM
  2. Hyperlink to a hidden sheet
    By Keibri in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-21-2015, 09:47 AM
  3. [SOLVED] hyperlink in hidden sheet
    By edwinculanding in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-08-2013, 11:12 AM
  4. Hyperlink to a hidden sheet (in the same worksheet)?
    By NameUse in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-05-2013, 12:43 PM
  5. Replies: 1
    Last Post: 02-23-2013, 05:18 AM
  6. Hyperlink with Hidden Sheet
    By niladri20005 in forum Excel General
    Replies: 0
    Last Post: 10-21-2011, 01:10 PM
  7. hyperlink to a hidden sheet
    By globalpontoon in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-10-2011, 01:11 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