+ Reply to Thread
Results 1 to 2 of 2

Excel 2007 : Worksheets Dependant upon Data Validation

  1. #1
    Registered User
    Join Date
    12-02-2010
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    2

    Worksheets Dependant upon Data Validation

    Hi Guys,

    I was wondering if this is possible.

    I have a product page and over 200 products on different worksheets.

    What I want to happen is on the data validation on the product page a user can select a product and the corresponding worksheet will come out of hiding.

    Can anyone tell me if this is possible and if it is how I can do this?

    Cheers!!

    SC

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Worksheets Dependant upon Data Validation

    Hi,

    You'll need to build a table of product codes and the sheet on which they are located. Then use a VLOOKUP to lookup up the user selection in the table and return the sheet name.
    Finally you'll need a sheet change driven macro to detect when the user makes a change and uses the VLOOKUP result to unhide and then activate the relevant worksheet.

    HTH
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

+ 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