+ Reply to Thread
Results 1 to 9 of 9

Hyperlink Hidden Sheet Trouble

  1. #1
    Registered User
    Join Date
    07-10-2019
    Location
    United States
    MS-Off Ver
    2016
    Posts
    10

    Exclamation Hyperlink Hidden Sheet Trouble

    Couple things here, firstly, I can't even run this because the End If and End Sub are fighting with each other at the bottom and when one works the other one refuses to regardless of formatting, please advise. Also I am having trouble distinguishing the hyperlinks, one is to a sheet titled Table of Contents and the other to a sheet titled Key. I want the commands to act on each on alone and not to overlap into each other. Really stuck on this.

    Please Login or Register  to view this content.
    Last edited by LazyRiverMan; 07-10-2019 at 01:16 PM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,777

    Re: Hyperlink Hidden Sheet Trouble

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however you need to include code tags around your code.

    Please take a moment to add the tags. Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, and it also maintains VBA formatting.

    Please see Forum Rule #2 about code tags and adjust accordingly. Click on Edit to open your post, then highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here

    (Note: this change is not optional. As you are new I will do it for you this time.)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,077

    Re: Hyperlink Hidden Sheet Trouble

    How about
    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    07-10-2019
    Location
    United States
    MS-Off Ver
    2016
    Posts
    10

    Re: Hyperlink Hidden Sheet Trouble

    That works great but I lose the functionality of the sheet hiding when I hit "back" to go to the Table of Contents and not doing so when I hit "Key" to go to the key.

  5. #5
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,077

    Re: Hyperlink Hidden Sheet Trouble

    If you want to hide the sheet that contains the hyperlink add this just before the End Sub
    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    07-10-2019
    Location
    United States
    MS-Off Ver
    2016
    Posts
    10

    Re: Hyperlink Hidden Sheet Trouble

    I was trying to avoid that by having the code that alters visibility to be linked to one hyperlink (the one to table of contents) but not to the other (the one to the key). If there isn't a way to do that I can work around it, just that it would be nice.

  7. #7
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,077

    Re: Hyperlink Hidden Sheet Trouble

    Ok, change that line to
    Please Login or Register  to view this content.

  8. #8
    Registered User
    Join Date
    07-10-2019
    Location
    United States
    MS-Off Ver
    2016
    Posts
    10

    Re: Hyperlink Hidden Sheet Trouble

    Works perfectly thank you very much!

  9. #9
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,077

    Re: Hyperlink Hidden Sheet Trouble

    You're welcome & thanks for the feedback

+ 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. Hyperlink to hidden sheet using a cell with the =Hyperlink formula
    By pauldonnelly16 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-23-2018, 07:53 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. Replies: 2
    Last Post: 01-13-2012, 04:59 PM
  5. Hyperlink with Hidden Sheet
    By niladri20005 in forum Excel General
    Replies: 0
    Last Post: 10-21-2011, 01:10 PM
  6. hyperlink to a hidden sheet
    By globalpontoon in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-10-2011, 01:11 PM
  7. [SOLVED] Move method trouble with hidden sheet
    By Earl Kiosterud in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-14-2006, 02:55 AM

Tags for this Thread

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