+ Reply to Thread
Results 1 to 4 of 4

Excel 2007 : Select a named range for display from a dropdown menu

  1. #1
    Registered User
    Join Date
    07-12-2010
    Location
    MI
    MS-Off Ver
    Excel 2003
    Posts
    15

    Select a named range for display from a dropdown menu

    Sorry if the title is confusing...

    I have a really long spreadsheet. The spread sheet lists the Work Centers for the whole shop. There are line items for each Work Center that can expand to N items. Each line item is spread over multiple columns.

    Ex:
    Work center Title
    item 1
    item 2
    item 3
    item N

    Work Center Title
    item 1
    item 2
    item N

    Etc...

    As of now, I have only grouped each Work Center in its entirity so I can at least keep them all closed for faster browsing. I have also named each range.

    What I would like to do is create a drop-down that displays all the Work Center names (Broach, Lathe, CNC, etc), Select the Work Center I want to view (for editing/updating), and ONLY display the selected Work center and all it's pertaining rows of data.

    Is this possible?

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Select a named range for display from a dropdown menu

    Look at Custom Views
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Valued Forum Contributor Miraun's Avatar
    Join Date
    04-03-2009
    Location
    New England
    MS-Off Ver
    2003, 2007, 2010, 2013
    Posts
    554

    Re: Select a named range for display from a dropdown menu

    Hi Faurkris;

    I don't understand how you arranged your data... are all of those work centers in their own workbook, or just 1 column in the same workbook?

    If they're all in one single column, you can use the auto-grouping function to help collapse the workbook into a more manageable view.

    If they're in separate worksheets or workbooks, what you're looking for is a VBA macro that is triggered on the update event on the cell with the dropdown of the named ranges.
    How you arrange your data will determine what the VBA will require, whether it's a dynamic hiding/unhiding of particular columns, switching the activecell to another sheet, or opening up an entirely separate workbook.


    Disregard... Roy's answer is much better than mine....
    Last edited by Miraun; 01-11-2012 at 11:40 AM. Reason: RoyUK with the snipe!
    Going for Guru! Click the Star to the bottom left of this post if I helped!

  4. #4
    Registered User
    Join Date
    07-12-2010
    Location
    MI
    MS-Off Ver
    Excel 2003
    Posts
    15

    Re: Select a named range for display from a dropdown menu

    Thanks!!! That'll work.

+ 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