+ Reply to Thread
Results 1 to 7 of 7

Hyper link to a object for a hidden sheets

  1. #1
    Registered User
    Join Date
    10-17-2015
    Location
    Kosovo
    MS-Off Ver
    MS
    Posts
    31

    Hyper link to a object for a hidden sheets

    I have created a menu or main sheet with object inserted and these objects has hyper links to other sheets and I want to hide the other sheets. But when I hide the sheets the Many when I have objects whith hyper links are not working so this happen when I hidde the sheets.
    Can you help out please. How we can do this with Excel.
    See attachemnt so when I hidee sheet Oret.01 the link in the Many is not working
    Attached Files Attached Files
    Last edited by bixha; 01-03-2018 at 09:28 AM.

  2. #2
    Forum Guru davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    XL 2010,2016
    Posts
    11,016

    Re: Hyper link to a object for a hidden sheets

    You can use VBA to unhide the sheets you selected with the Hyperlink.
    You would have to supply a sample workbook in order to get a better answer.

  3. #3
    Registered User
    Join Date
    10-17-2015
    Location
    Kosovo
    MS-Off Ver
    MS
    Posts
    31

    Re: Hyper link to a object for a hidden sheets

    See attachment

  4. #4
    Forum Guru davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    XL 2010,2016
    Posts
    11,016

    Re: Hyper link to a object for a hidden sheets

    Looking at your previous threads, none of them are macro(vba) subjects so I don't know if you are really looking for a vba solution. If you want to hyperlink to a hidden sheet though, VBA would have to unhide the sheet first.

    Since you are using a shape as the hyperlink, you would not require to use hyperlinks, but a macro assigned to the shape.

    It would look something like this.

    Please Login or Register  to view this content.
    In your attached example, I have removed the hyperlink and assign a macro to the shape. Click the shape and the sheet will unhide.

    The workbook is .xlsm file, you will have to allow macros when you open the workbook.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    10-17-2015
    Location
    Kosovo
    MS-Off Ver
    MS
    Posts
    31

    Re: Hyper link to a object for a hidden sheets

    Thanks Let me give more info about my request.
    I am working on a worksheet with 3 sheets. The first is called "MENU" and the other 2 are named with the months of the year this time only Jan and Feb (sheet 1 = Menu, sheet 2 = Jan, sheet 3 = Feb, etc later).
    On the Calendar sheet, I have this time 2 shapes, each with a hyperlink to a month.
    I would like to hide the sheets with the names of the year and have only the sheet named Menu visible. However, when I do that, the hyperlinks no longer work.
    I imagine I would need a code for the hyperlinks on the shapes in the Menu sheet to unhide the sheet with the corresponding month and then hide it again once I click on a hyperlink which takes me back to the Menu sheet.
    See attachment as reference.
    Can someone help me with this?

    Please bear in mind I have no knowledge of code so you will have to take me through the step-by-step process of where I should paste each code is it VBA.

    This question is podted and this website https://www.excelguru.ca/forums/show...-hidden-sheets

    Thank you!
    Attached Files Attached Files
    Last edited by bixha; 01-04-2018 at 06:50 AM.

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    Excel 2013 (Win 10 - Work) & 365 Subscription (Win 10 - Home)
    Posts
    16,662

    Re: Hyper link to a object for a hidden sheets

    Rule 08: Cross-posting Without Links

    Your post does not comply with Rule 8 of our Forum RULES. Do not cross-post your question on multiple forums without including links here to the other threads on other forums.

    Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.

    Expect cross-posted questions without a link to be closed and a message will be posted by the moderator explaining why. We are here to help so help us to help you!

    Read this to understand why we ask you to do this, and then please edit your first post to include links to any and all cross-posts in any other forums (not just this site).

    No further help to be offered, please, until the OP has complied with this request.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    If anyone has helped you towards solving a problem, then you can thank them by clicking on their reputation star bottom left.

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    Excel 2013 (Win 10 - Work) & 365 Subscription (Win 10 - Home)
    Posts
    16,662

    Re: Hyper link to a object for a hidden sheets

    Thank's for the link!

+ 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.6.0 RC 1