+ Reply to Thread
Results 1 to 2 of 2

Populate Validation list with Collection

  1. #1
    Registered User
    Join Date
    08-23-2010
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    3

    Populate Validation list with Collection

    Hello

    I have a worksheet with site and customer data (among other things) and would like to restrict what sites a user can select when entering data based on the customer they've selected.

    For example, the worksheet has something like the following:
    Site Customer
    1 Alpha
    2 Alpha
    3 Alpha
    4 Alpha
    5 Beta
    1 Beta
    2 Beta
    3 Beta
    6 Alpha
    4 Beta
    1 Gamma
    2 Gamma

    I thought using a Validation List that populates automatically when the user selects a cell would help. So, if the user selects Alpha as the customer only 1,2,3,4,6 show up in the list. The information in the worksheet can change quite frequently.

    I know that I could populate a Collection and then write it to a worksheet that the Validation List could refer to is a possible way to complete this. However, I am wondering if anyone knows of a way that I could simply populate the Validation List with the elements in the Collection?

    Thanks for your help in advance.

    CKD

  2. #2
    Valued Forum Contributor Charles's Avatar
    Join Date
    02-10-2004
    Location
    Biloxi
    MS-Off Ver
    Windows 7, Excel 2003,2007 & Mac2011
    Posts
    845

    Re: Populate Validation list with Collection

    CKD,


    Welcome to the forum. Could you attach workbook.
    Charles

    There are other ways to do this, this is but 1 !
    Be Sure you thank those who helped.
    IF YOU'RE SATISFIED BY ANY MEMBERS RESPONSE TO YOUR ISSUE PLEASE USE THE STAR ICON AT THE BOTTOM LEFT OF THE POST UNDER THEIR NAME.

+ 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