+ Reply to Thread
Results 1 to 3 of 3

How to use macros to open hidden tabs from a master worksheet?

  1. #1
    Registered User
    Join Date
    07-15-2013
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    2

    How to use macros to open hidden tabs from a master worksheet?

    Hello,

    I am creating a document that has multiple tabs (up to 300!). I would like to have only the 'master' sheet visible. On this master sheet, I have a number of descriptions that currently hyperlink the description to a tab that will show an image. The user is then able to click anywhere on the tab to return back to the master sheet. I would like to hide all the tabs, but if I do this the hyperlinks on the master sheet do not work!

    I have read many posts, YouTube clips and Googled the above, and am not satisfactorily confused!

    I think I need to somehow use macro/s to do this task but I honestly do not understand where to start. It really is another language to me.

    Is anyone able to help?

    I have attached a cutdown version of the file to view. If you click on "Rocker arm cover" and then "Oil filler neck", I hope this will explain what I am rambling on about!

    Many thanks

    Jon
    Attached Files Attached Files

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2502
    Posts
    26,995

    Re: How to use macros to open hidden tabs from a master worksheet?

    Welcome to the Forum!

    Here is one solution using VBA.
    [Jon Gray=hyperlinks to hidden sheets=Inspection_Test.xlsm]
    However, you need to change the hyperlinks in your hidden sheets to refer back to some other cell in the main sheet.

    The hyperlinks in 5430i_Concept have been removed, and VBA code has replaced them. The VBA code detects when the user selects an item in column B of 5430i_Concept. If there is a valid sheet corresponding to that item (using the same name as the number in column A), then that sheet is un-hidden and activated. When the user returns to 5430i_Concept, all sheets are once again hidden.

    The reason you have to change the hyperlink is that it currently returns to the same item in column B, which will again trigger the macro to return to the same hidden sheet.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    07-15-2013
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: How to use macros to open hidden tabs from a master worksheet?

    Unbelievable! Thank you very much. I've not a clue how you've done it, but that's exactly what I was looking for. I'll attempt to copy this macro to my original file to see if I can get that to work as well!

    ...I may be back for more answers :0) !

    Thanks again

    Jon

+ 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. macros to open hidden worksheet
    By grizzly6969 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-11-2013, 03:29 AM
  2. Replies: 1
    Last Post: 07-20-2012, 07:51 AM
  3. [SOLVED] How can I find/unhide hidden excel sheet tabs on a worksheet?
    By magician in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-13-2012, 05:37 PM
  4. [SOLVED] macros won't work when tabs with data used are hidden
    By pywhacket in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-22-2006, 04:25 PM
  5. [SOLVED] excel macros truncating tabs for hidden columns.
    By SharanS in forum Excel General
    Replies: 0
    Last Post: 02-18-2005, 10:06 AM

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