+ Reply to Thread
Results 1 to 3 of 3

Hyperlink are not working when Hide & than Un-hide the sheet in excel.

Hybrid View

  1. #1
    Registered User
    Join Date
    12-24-2019
    Location
    Islamabad
    MS-Off Ver
    2013
    Posts
    71

    Hyperlink are not working when Hide & than Un-hide the sheet in excel.

    Hi There,
    I am working on various excel sheets along with main sheet. I have created the normal buttons through shapes and put the hyperlink through those button to relevant sheets. Also i have added VBA code through check box on main sheet to hide / Un-Hide sheets which are attached with hyperlinks.
    Now when i hide that sheet through check box and un-hide they hyperlinks don't work. I don't want to add functions to the buttons when clicked and un-hide the sheets. I want hyperlink work separately and particularly assigned to the sheet i want, even if i hide or un-hide.

    Could you please help me to assign the hyperlink permanently to that sheet.

    Note: the code i have used to to Hide Un-hide sheets.

    Private Sub CheckBox2_Click()
    If Me.CheckBox2.Value = True Then
    Sheet1.Visible = xlSheetHidden
    Else
    Sheet1.Visible = xlSheetVisible
    End If
    End Sub

    Thanks.
    Attached Images Attached Images

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,610

    Re: Hyperlink are not working when Hide & than Un-hide the sheet in excel.

    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 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. No help to be offered until this moderation request has been fulfilled.)

  3. #3
    Registered User
    Join Date
    12-24-2019
    Location
    Islamabad
    MS-Off Ver
    2013
    Posts
    71

    Re: Hyperlink are not working when Hide & than Un-hide the sheet in excel.

    I don't understand how to do it. Could you please guide it to me.

+ 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. hide and protected sheet macro not working
    By Anisusa in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-14-2017, 01:49 PM
  2. Please help: Cant hide row on another sheet (simple but some how not working)
    By simplificated in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-25-2013, 09:41 AM
  3. [SOLVED] create new sheet thats very secret, only viewable via hyperlink and hide when unactive
    By RichTea88 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-20-2013, 09:46 AM
  4. Replies: 1
    Last Post: 02-23-2013, 05:18 AM
  5. [SOLVED] Hide excel sheets but visible after clicking on hyperlink from main sheet.
    By naveen4pundir in forum Excel General
    Replies: 2
    Last Post: 03-29-2012, 02:16 AM
  6. Can't hide working sheet
    By jomili in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-07-2010, 12:16 PM
  7. [SOLVED] My hide sheet option in excel is not working
    By arleen in forum Excel General
    Replies: 1
    Last Post: 10-25-2005, 02: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