+ Reply to Thread
Results 1 to 2 of 2

Conditionally show sheets based on drop down

  1. #1
    Registered User
    Join Date
    10-01-2010
    Location
    Mansfield, MA
    MS-Off Ver
    Excel 2010
    Posts
    18

    Conditionally show sheets based on drop down

    I'm modifying a workbook we use at our company to track disaster drills. I've attached a sample workbook to demonstrate my question. As you'll see, there are three sheets, one for each of the sample programs. The problem is that in reality, there are 50 different programs that each have a sheet and it is quite annoying to have to flip through each sheet when entering information. Putting all of the sheets on one sheet and then having to scroll down would be equally annoying. I'd like to instead create a dropdown list in cell A2 (through data validation or otherwise) where a person could select the program name that they wish to enter information for and then ONLY the corresponding grid would be displayed. I'm assuming this would need to be done using VBA but unfortunately I'm a beginner when it comes to that. Can anyone help? Thanks in advance.
    Attached Files Attached Files

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Conditionally show sheets based on drop down

    Here's how I would handle that.

    1) Add a sheet to the front called NAVIGATION.

    2) Run this macro on your workbook with NAVIGATION active:
    Please Login or Register  to view this content.
    (publlished site / sample workbook)

    4) Copy the first link "Navigation" and put it at the top of all your other sheets

    5) Reorganize the links to your liking, and you're done.

    Now you can click a program link, be taken to that sheet, when done click the "Navigation" link you added to each sheet and be right back to the cover.
    Attached Files Attached Files
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

+ 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